aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apts/APKBUILD
blob: 22b08afa811f9e43f2ffb8f066d93e464a1b0ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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=GPL-2

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="7fc6abc1ef9f006bbca19b4c85ecb47f  apts-0.3.tar.bz2"