summaryrefslogtreecommitdiff
path: root/community/libtlen/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libtlen/PKGBUILD')
-rw-r--r--community/libtlen/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/community/libtlen/PKGBUILD b/community/libtlen/PKGBUILD
index a853c7193..04cb44677 100644
--- a/community/libtlen/PKGBUILD
+++ b/community/libtlen/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 22906 2010-08-01 03:53:55Z mherych $
+# $Id: PKGBUILD 67517 2012-03-12 22:14:18Z lcarlier $
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
pkgname=libtlen
pkgver=20041113
-pkgrel=4
+pkgrel=5
pkgdesc="A Tlen.pl protocol library"
arch=('i686' 'x86_64' 'mips64el')
url="http://libtlen.sourceforge.net/"
@@ -13,8 +13,14 @@ source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
md5sums=('b77c0a3234a21d1b79df8a8b9a9b9534')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd ${srcdir}/$pkgname-$pkgver
+
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
}