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