diff options
Diffstat (limited to 'abs/extra/inadyn/PKGBUILD')
-rw-r--r-- | abs/extra/inadyn/PKGBUILD | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/abs/extra/inadyn/PKGBUILD b/abs/extra/inadyn/PKGBUILD index 2cbd9c8..e674492 100644 --- a/abs/extra/inadyn/PKGBUILD +++ b/abs/extra/inadyn/PKGBUILD @@ -1,20 +1,33 @@ +# Maintainer: megadriver <megadriver at gmx dot com> +# Contributor: Dag Odenhall <dag.odenhall@gmail.com> +# Contributor: Inxsible <inxsible at gmail dot com> +# Contributor: Frikilinux <frikilinux at frikilinux.com.ar> + pkgname=inadyn pkgver=1.96.2 -pkgrel=4 -pkgdesc="Simple dynamic DNS client" -url="http://www.dyndns.com/support/kb/using_inadyn_with_dyndns_services.html" -makedepends=('unzip') +pkgrel=5 +pkgdesc="A simple dynamic DNS updater" arch=('i686' 'x86_64') +url="http://www.inatech.eu/inadyn/" license=('GPL') -source=(http://cdn.dyndns.com/$pkgname.zip run) - +depends=('bash') +backup=(etc/inadyn.conf) +source=("http://www.inatech.eu/inadyn/inadyn.v$pkgver.zip" inadyn.conf inadyn.service) +md5sums=('702a127f13b96eee38d60c6f30b20efa' + 'f910c5778add779dfef4d680108513a2' + '85d2fbe3b45aba719fcb6f7085a3ae47') build() { - cd $startdir/src/$pkgname - install -m755 -D bin/linux/$pkgname $startdir/pkg/usr/sbin/$pkgname - install -m644 -D man/$pkgname.8 $startdir/pkg/usr/man/man8/$pkgname.8 - install -m644 -D man/$pkgname.conf.5 $startdir/pkg/usr/man/man5/$pkgname.conf.5 - install -m755 -D ../run $startdir/pkg/etc/sv/inadyn/run + cd "$srcdir/inadyn" + make +} + +package() { + cd "$srcdir/inadyn" + install -Dm755 bin/linux/inadyn $pkgdir/usr/bin/inadyn + install -Dm644 man/inadyn.8 $pkgdir/usr/share/man/man8/inadyn.8 + install -Dm644 man/inadyn.conf.5 $pkgdir/usr/share/man/man5/inadyn.conf.5 + install -Dm644 readme.html $pkgdir/usr/share/doc/inadyn/readme.html + install -Dm644 ../inadyn.conf $pkgdir/etc/inadyn.conf + install -Dm644 ../inadyn.service $pkgdir/usr/lib/systemd/system/inadyn.service } -md5sums=('d394ed5ab7a9313992bdc62c412cb369' - '3fee8156d8ae96125470dd0c692b0937') |