# Maintainer: Laurent Bercot # Contributor: John Regan pkgname=skalibs pkgver=2.5.1.1 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="a1139c6c192b4b4b29fb5b93242d206274ad80503a7b68fda117105e5344e2a15547d52145f488759c5cfa7be45a8a22be8a4b606328556a92dc980186143dc4 skalibs-2.5.1.1.tar.gz"