# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=skalibs pkgver=2.6.3.0 pkgrel=0 pkgdesc="A set of general-purpose C programming libraries for skarnet.org software." url="http://skarnet.org/software/skalibs/" arch="all" license="ISC" options="!check" subpackages="$pkgname-dev $pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --libdir=/usr/lib \ --enable-clock make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } dev() { default_dev mv "$pkgdir/usr/lib/$pkgname"/sysdeps/* \ "$subpkgdir/usr/lib/$pkgname"/sysdeps/ rm -rf "$pkgdir"/usr } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="4f904cde17fa91070317b9ddd542715c5b4e19a8ccb3ae3b2eb014a782ae66b38033f7f5614d92cfb64e251aa4e97e11c03695f161cdd2b122b61fd3e627af9a skalibs-2.6.3.0.tar.gz"