diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2011-02-25 09:50:26 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-02-25 09:50:43 +0000 |
commit | fccbf900e3f09c764a2d28e5d8ab86fafe2dee4c (patch) | |
tree | 1f0c68ed4262268d77b829fbc3fc5a28b9840562 /testing/qpage/APKBUILD | |
parent | 71792fa190af1658c684c04af830e6e50e2944ab (diff) | |
download | aports-fccbf900e3f09c764a2d28e5d8ab86fafe2dee4c.tar.bz2 aports-fccbf900e3f09c764a2d28e5d8ab86fafe2dee4c.tar.xz |
testing/qpage: APKBUILD style fixes
Diffstat (limited to 'testing/qpage/APKBUILD')
-rw-r--r-- | testing/qpage/APKBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testing/qpage/APKBUILD b/testing/qpage/APKBUILD index 57fc97086e..c93b542c2c 100644 --- a/testing/qpage/APKBUILD +++ b/testing/qpage/APKBUILD @@ -7,16 +7,18 @@ pkgdesc="Sends messages to an alphanumeric pager via TAP protocol." url="http://www.qpage.org/" arch="all" license="Custom" -depends="" +depends= depends_dev= -makedepends="$depends_dev" +makedepends= install="$pkgname.pre-install $pkgname.post-install" source="saveas-http://archive.debian.org/debian/pool/non-free/q/$pkgname/"$pkgname"_3.3final.orig.tar.gz/$pkgname-$pkgver.tar.gz config.input qpage.initd qpage.patch " + _builddir="$srcdir"/$pkgname-$pkgver + prepare() { cd "$_builddir" for i in $source; do @@ -25,6 +27,7 @@ prepare() { esac done } + build() { cd "$_builddir" cp -f "$srcdir"/config.input "$_builddir" || return 1 @@ -33,6 +36,7 @@ build() { --localstatedir=/var make || return 1 } + package() { mkdir -p "$pkgdir"/usr/bin mkdir -p "$pkgdir"/etc/qpage @@ -41,7 +45,6 @@ package() { install -m644 -D "$_builddir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } - md5sums="eb98faaa51f89db68ecf7668f5294309 qpage-3.3.tar.gz 3ac8c6e2aede9e195eba2555eb3b4645 config.input f439315da04ebdd1e1cc2840171d45d3 qpage.initd |