diff options
Diffstat (limited to 'unmaintained/apts/APKBUILD')
-rw-r--r-- | unmaintained/apts/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/apts/APKBUILD b/unmaintained/apts/APKBUILD new file mode 100644 index 0000000000..f729e732f8 --- /dev/null +++ b/unmaintained/apts/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Jeff Bilyk <jbilyk@gmail.com> +pkgname=apts +pkgver=0.3 +pkgrel=2 +pkgdesc="APTS - Alpine Package Testing Suite" +depends= +makedepends= +source="http://git.alpinelinux.org/cgit/jbilyk/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2 + " +url="http://git.alpinelinux.org/cgit/jbilyk/apts.git/" +arch="noarch" +license=GPL2 + +build() { + echo "Nothing to build, moving on to package" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + mkdir -p "$pkgdir"/etc/apts + mkdir -p "$pkgdir"/usr/bin + mkdir -p "$pkgdir"/usr/share/$pkgname/tests + mkdir -p "$pkgdir"/usr/share/docs/$pkgname + + install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname + install -m644 -D apts.conf "$pkgdir"/etc/$pkgname/${pkgname}.conf + install -m644 -D README "$pkgdir"/usr/share/docs/$pkgname/README + install -m644 -D missing-tests "$pkgdir"/usr/share/docs/$pkgname/missing-tests + install -m644 -D torvalds-says-linux.mp3 "$pkgdir"/usr/share/$pkgname/torvalds-says-linux.mp3 + install -m644 -D test.rar "$pkgdir"/usr/share/$pkgname/test.rar + for i in `ls tests`; do + install -m644 -D tests/$i "$pkgdir"/usr/share/$pkgname/tests/$i + done +} + +md5sums="58d42b53f2a88b74fc3422be681ce9dd apts-0.3.tar.bz2" +sha256sums="360f9e4232a0ba8f06151b30ca3762ac7e48086eabe9d122c05ebc39adb18932 apts-0.3.tar.bz2" +sha512sums="571b2c89c4747d2b4c2d113c3289a1fce53679fa778c3f4bcedab9e8ce1106beccf7ca7a773ec1d235c96ca37ebdd4e4c656ef3808e941f636476983be4601fd apts-0.3.tar.bz2" |