APKBUILD (895B)
1 # Contributor: sin <sin@2f30.org> 2 # Maintainer: sin <sin@2f30.org> 3 pkgname=pkgtools 4 pkgver=0.4.1 5 pkgrel=0 6 pkgdesc="simple package manager" 7 url="http://git.2f30.org/pkgtools" 8 arch="all" 9 license="MIT/X" 10 depends="libarchive" 11 depends_dev="libarchive-dev" 12 makedepends="$depends_dev" 13 install="" 14 subpackages="" 15 source="http://git.2f30.org/$pkgname/snapshot/$pkgname-$pkgver.tar.gz" 16 17 _builddir="$srcdir"/$pkgname-$pkgver 18 build() { 19 cd "$_builddir" 20 make || return 1 21 } 22 23 package() { 24 cd "$_builddir" 25 make DESTDIR="$pkgdir" PREFIX=/ MANPREFIX=/share install || return 1 26 } 27 28 md5sums="f9fb14b1c11786508a807bd2e2f9ec32 pkgtools-0.4.1.tar.gz" 29 sha256sums="6c72297b2b692272e687c1ff11fe477dd93921fd7605edec49a2b0a861f39f14 pkgtools-0.4.1.tar.gz" 30 sha512sums="5774cbc469d2a83365b8d50db942842bbde86711da024d9d6ff8c5edd1709906c8722e7ec1fc06d087e4f48d10f2c3bd0551dc1d0e7538925573b15d3949c1da pkgtools-0.4.1.tar.gz"