diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-23 09:45:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-23 09:45:52 +0000 |
commit | ab94ef2af563557737db9d3d4baa00c1e3d352fd (patch) | |
tree | eff819f4f346dff7cd1a42b93e6e24607fb402b5 | |
parent | b4b7cc065e124c2dc73458710fc0d40007478ce4 (diff) | |
download | alpine_aports-ab94ef2af563557737db9d3d4baa00c1e3d352fd.tar.bz2 alpine_aports-ab94ef2af563557737db9d3d4baa00c1e3d352fd.tar.xz alpine_aports-ab94ef2af563557737db9d3d4baa00c1e3d352fd.zip |
testing/apts: new aport
APTS - Alpine Package Testing Suite
http://git.alpinelinux.org/cgit/apts/
-rw-r--r-- | testing/apts/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/apts/APKBUILD b/testing/apts/APKBUILD new file mode 100644 index 0000000000..ba6813c4eb --- /dev/null +++ b/testing/apts/APKBUILD | |||
@@ -0,0 +1,38 @@ | |||
1 | # Contributor: Natanael Copa <ncopa@alpinelinux.org> | ||
2 | # Maintainer: Jeff Bilyk <jbilyk@gmail.com> | ||
3 | pkgname=apts | ||
4 | pkgver=0.1 | ||
5 | _pkgver="master" | ||
6 | pkgrel=0 | ||
7 | pkgdesc="APTS - Alpine Package Testing Suite" | ||
8 | depends= | ||
9 | makedepends= | ||
10 | source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$_pkgver.tar.bz2 | ||
11 | " | ||
12 | url="http://git.alpinelinux.org/cgit/apts/" | ||
13 | arch="x86 x86_64" | ||
14 | license=GPL-2 | ||
15 | |||
16 | build() { | ||
17 | echo "Nothing to build, moving on to package" | ||
18 | } | ||
19 | |||
20 | package() { | ||
21 | cd "$srcdir/$pkgname-$_pkgver" | ||
22 | mkdir -p "$pkgdir"/etc/apts | ||
23 | mkdir -p "$pkgdir"/usr/bin | ||
24 | mkdir -p "$pkgdir"/usr/share/$pkgname/tests | ||
25 | mkdir -p "$pkgdir"/usr/share/docs/$pkgname | ||
26 | |||
27 | install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname | ||
28 | install -m644 -D apts.conf "$pkgdir"/etc/$pkgname/${pkgname}.conf | ||
29 | install -m644 -D README "$pkgdir"/usr/share/docs/$pkgname/README | ||
30 | install -m644 -D missing-tests "$pkgdir"/usr/share/docs/$pkgname/missing-tests | ||
31 | install -m644 -D torvalds-says-linux.mp3 "$pkgdir"/usr/share/$pkgname/torvalds-says-linux.mp3 | ||
32 | install -m644 -D test.rar "$pkgdir"/usr/share/$pkgname/test.rar | ||
33 | for i in `ls tests`; do | ||
34 | install -m644 -D tests/$i "$pkgdir"/usr/share/$pkgname/tests/$i | ||
35 | done | ||
36 | } | ||
37 | |||
38 | md5sums="0eead32c26a0224f9f7afcc013fc8f52 apts-master.tar.bz2" | ||