summaryrefslogtreecommitdiff
path: root/community/noip
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-18 13:39:32 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-18 13:39:32 +0100
commit7e6a790c47fb44426cdda8ea0aca8c247a524c5e (patch)
treea120e55f735660c1ab1e7fa6174fe28fb3108d1f /community/noip
parente5592a9039761a22a117469303c77a4215ad5048 (diff)
parentd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/gpsmanshp/PKGBUILD community/parrot/PKGBUILD extra/kdeadmin/PKGBUILD extra/kdebindings-python/PKGBUILD extra/kdegames/PKGBUILD extra/kdesdk/PKGBUILD extra/libmtp/PKGBUILD extra/libreoffice/PKGBUILD extra/samba/PKGBUILD multilib/lib32-libx11/PKGBUILD testing/xf86-video-mga/PKGBUILD testing/xf86-video-mga/git-fixes.patch
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 55050d40c..1d9afbe5d 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' 'mips64el')
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: