updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / serverkit / PKGBUILD
blobaea2bb6ab4fea4656d4b2ea2bd1905b5d5de48ac
1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 pkgname=serverkit
3 pkgver=1.1.1
4 pkgrel=1
5 pkgdesc="A SDK for building server programs on Linux."
6 arch=('i686')
7 url="http://serverkit.org/"
8 license=('custom:HPL')
9 depends=('confuse' 'libmysqlclient')
10 source=(http://serverkit.org/$pkgname-$pkgver.tar.gz COPYING)
11 noextract=()
12 md5sums=('e0ab4a763b9a82c901cc240d52335694' 'beee3595cda34aec190211c323d0775b')
14                                                             
15 build() {
16   cd $startdir/src/$pkgname-$pkgver/lib
17   make || return 1                      
18   install -d -m755  $startdir/pkg/usr/include
19   install -m644 *.h $startdir/pkg/usr/include
20   install -d -m755  $startdir/pkg/usr/lib
21   install libserver.so libserver.a $startdir/pkg/usr/lib
22     
23   cd ..
24   make || return 1
25   install -D -m755 server $startdir/pkg/usr/sbin/server
26   install -D ../COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING