summaryrefslogtreecommitdiff
path: root/community/twin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/twin/PKGBUILD')
-rw-r--r--community/twin/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/community/twin/PKGBUILD b/community/twin/PKGBUILD
index 53d5e7541..03aa1ae09 100644
--- a/community/twin/PKGBUILD
+++ b/community/twin/PKGBUILD
@@ -1,4 +1,7 @@
+# $Id: PKGBUILD 59233 2011-11-21 15:28:15Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
+
pkgname=twin
pkgver=0.6.2
pkgrel=1
@@ -9,17 +12,15 @@ license=('GPL' 'LGPL')
depends=('ncurses' 'gpm' 'zlib' 'libtool' 'libxpm')
optdepends=('gtk')
#source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-source=(http://linuz.sns.it/~max/twin/twin-$pkgver.tar.gz)
+source=(http://arch.p5n.pp.ru/~sergej/dl/2011/twin-$pkgver.tar.gz)
md5sums=('6211c8b2e655003eb96b1fc5dc37e7d9')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
LDFLAGS="-lX11" ./configure --prefix=/usr \
--enable-tt=yes \
--enable-tt-hw-twin=yes --enable-tt-hw-twin-tunnel=yes --enable-tt-hw-twin-detunnel=yes \
- --enable-tt-hw-xml=yes \
- || return 1
-
- make -j1 || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ --enable-tt-hw-xml=yes
+ make -j1
+ make DESTDIR=$pkgdir install
}