summaryrefslogtreecommitdiff
path: root/community/noip
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
commitd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (patch)
tree7c4f618283e9b502f0d9cfb5059ce38daa7738be /community/noip
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Sun Mar 18 00:02:53 UTC 2012
Diffstat (limited to 'community/noip')
-rw-r--r--community/noip/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/noip/PKGBUILD b/community/noip/PKGBUILD
index 4ed673e68..202d09d58 100644
--- a/community/noip/PKGBUILD
+++ b/community/noip/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 5867 2009-11-21 17:42:53Z jlichtblau $
+# $Id: PKGBUILD 67996 2012-03-16 23:45:15Z giovanni $
# Contributor: Lyle Putnam <lcputnam@amerytel.net>
# Maintainer: Daenyth
pkgname=noip
pkgver=2.1.9
-pkgrel=2
+pkgrel=3
pkgdesc="A Dynamic DNS Client Updater for no-ip.com services"
arch=('i686' 'x86_64')
url="http://www.no-ip.com/downloads.php?page=linux"
@@ -12,9 +12,8 @@ license=('GPL')
backup=('etc/no-ip2.conf')
install=noip.install
# Note that they have the one file for the current release, so if the md5sum breaks, it means they updated.
-source=('http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz'
+source=("http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz"
'noip-rc.d')
-
md5sums=('3b0f5f2ff8637c73ab337be403252a60'
'63253de6f4d847015d111e5e5b20f2cf')
@@ -24,9 +23,12 @@ build() {
# Their Makefile is fucking horrid, do it by hand instead
sed -i '/^#define CONFIG_FILEPATH/s/PREFIX//' noip2.c
sed -i '/^#define CONFIG_FILENAME/s/PREFIX//' noip2.c
- gcc -Wall $CLFAGS $LDFLAGS -g -Dlinux -DPREFIX="/usr" noip2.c -o noip2 || return 1
+ gcc -Wall $CLFAGS $LDFLAGS -g -Dlinux -DPREFIX="/usr" noip2.c -o noip2
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver-1
install -Dm755 noip2 $pkgdir/usr/bin/noip2
install -Dm755 $srcdir/noip-rc.d $pkgdir/etc/rc.d/noip
}
-# vim:set ts=2 sw=2 et: