apk-tools/test/repo2/test-b/APKBUILD

39 lines
639 B
Plaintext
Raw Normal View History

2010-06-15 13:30:12 +00:00
# Contributor:
# Maintainer:
pkgname=test-b
pkgver=1.0
pkgrel=0
pkgdesc="Package A for apk-tools testsuite"
url="http://alpinelinux.org"
arch="noarch"
2010-06-15 13:30:12 +00:00
license="GPL"
depends=test-a
makedepends=
install=
subpackages=
source=""
2017-06-11 10:46:38 +00:00
builddir="$srcdir/$pkgname-$pkgver"
2010-06-15 13:30:12 +00:00
# append extra dependencies to -dev subpackage
# remove if not used.
# depends_dev="somepackage-dev"
prepare() {
2017-06-11 10:46:38 +00:00
mkdir -p "$builddir"
2010-06-15 13:30:12 +00:00
}
build() {
2017-06-11 10:46:38 +00:00
cd "$builddir"
cat > $pkgname <<-EOF
#!/bin/sh
echo "hello from $pkgname-$pkgver"
EOF
2010-06-15 13:30:12 +00:00
}
package() {
2017-06-11 10:46:38 +00:00
cd "$builddir"
2010-06-15 13:30:12 +00:00
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
}
2017-06-11 10:46:38 +00:00
sha512sums="" #generate with 'abuild checksum'