aboutsummaryrefslogblamecommitdiffstats
path: root/community/qpage/APKBUILD
blob: b54dadabc2015cf78f8e9eb640a5851b440015fc (plain) (tree)
















































                                                                                                                                                              
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=qpage
pkgver=3.3
pkgrel=2
pkgdesc="Sends messages to an alphanumeric pager via TAP protocol."
url="http://www.qpage.org/"
arch="all"
license="Custom"
depends=""
makedepends=""
install="$pkgname.pre-install $pkgname.post-install"
source="$pkgname-$pkgver.tar.gz::http://archive.debian.org/debian/pool/non-free/q/$pkgname/${pkgname}_3.3final.orig.tar.gz
	config.input
	qpage.initd
	qpage.patch"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	cp -f "$srcdir"/config.input "$builddir" || return 1
	./configure --prefix=/usr \
  	    --sysconfdir=/etc \
		--localstatedir=/var
	make || return 1
}

package() {
	mkdir -p "$pkgdir"/usr/bin
	mkdir -p "$pkgdir"/etc/qpage
	install -m755 "$builddir"/$pkgname "$pkgdir"/usr/bin/"$pkgname"
	install -m644 -D "$builddir"/example.cf "$pkgdir"/etc/qpage/qpage.conf.example
	install -m644 -D "$builddir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}

md5sums="eb98faaa51f89db68ecf7668f5294309  qpage-3.3.tar.gz
3ac8c6e2aede9e195eba2555eb3b4645  config.input
c5a72422e9e68febe8b22372616eeb2b  qpage.initd
e8a4a6926973c940fe34dc6c4e892606  qpage.patch"
sha256sums="d9f5829f5e9ab815c93708c2c7e989ae9df8776b34a28050ee016f004f154ac6  qpage-3.3.tar.gz
57c604f2d6f0d4e41190f691a087876b7f35e40d849ad5d7ee913317ffbdcb9c  config.input
6ba43dfef4f97a44e2ca372dad1ff6173dc5fd14714e68450b2036de3f0649dc  qpage.initd
841bd3b9ea468ba8f678d45e26a6f1557d1d3e157f927c6584305fa3dab88dce  qpage.patch"
sha512sums="a100e531aaf3a1c04af5f32d4df5a47b2fd454e5b4d46fcb6dc9730f43e731044f26c7cf0a72165d2c26033e385a2ed06c4c846f822982548e3fa83921c61fef  qpage-3.3.tar.gz
82772a1dcac5617c7a9ffde4ffe174c4e2d078ff644c873ccc39ac09ced23519f70ef79bf0ad9c69e1ae6c70dee2f57cb0e322f3f102e9849fc501737273856d  config.input
14c7af4b794b763e761b42eaa7447e00bf7a503cb640c07ffef41ff830c65c73ccee02f4c56405ce6a939b722ff83262ba34852695d785f085334385d6ad2819  qpage.initd
dbfbbdf7a1d9035a0906a2e2c70be3090ef60dd1a55622588d6a0cdd3b0bc565553857f3dbad6ec7774dc6240c5fdd061ed8269dd39e32df7758e21b8375963c  qpage.patch"