summaryrefslogtreecommitdiff
path: root/community/tre/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-07 17:33:04 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-07 17:33:04 -0300
commit2302f1d28510fadb2dcfa119f28ed28f164845bf (patch)
treee7040e1c743f46bc60a7844275516e4404f6ac30 /community/tre/PKGBUILD
parent2a9d1292ab60e8a2356fb3eeb36b8c3cfc22759b (diff)
parent5442e9b8f357932ed5d6cb46e90fcbf6f453469f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/fotoxx/PKGBUILD community/gtkdialog/PKGBUILD community/hubbub/PKGBUILD community/libgdamm/PKGBUILD community/libparserutils/PKGBUILD community/mingw32-binutils/PKGBUILD community/mingw32-gcc-base/PKGBUILD community/mingw32-gcc/PKGBUILD community/mtpaint/PKGBUILD community/netsurf/PKGBUILD community/patchage/PKGBUILD community/qgo/PKGBUILD community/tomoyo-tools/PKGBUILD community/tre/PKGBUILD community/virtualbox/PKGBUILD core/net-tools/PKGBUILD core/openldap/PKGBUILD extra/epiphany/PKGBUILD extra/evince/PKGBUILD extra/evolution-data-server/PKGBUILD extra/evolution/PKGBUILD extra/exiv2/PKGBUILD extra/folks/PKGBUILD extra/gimp-ufraw/PKGBUILD extra/gnome-control-center/PKGBUILD extra/gnome-power-manager/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/gnome-python-extras/PKGBUILD extra/gvfs/PKGBUILD extra/jack/PKGBUILD extra/kdelibs/PKGBUILD extra/kdepim/PKGBUILD extra/koffice/PKGBUILD extra/libreoffice/PKGBUILD extra/libwebkit/PKGBUILD extra/mutter/PKGBUILD extra/nautilus/PKGBUILD extra/openmpi/PKGBUILD extra/pavucontrol/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/postgresql/PKGBUILD extra/pulseaudio/PKGBUILD extra/pygobject2/PKGBUILD extra/swt/PKGBUILD extra/tomcat/PKGBUILD extra/totem/PKGBUILD extra/vigra/PKGBUILD extra/vte/PKGBUILD extra/xulrunner/PKGBUILD kde-unstable/calligra/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD multilib/lib32-atk/PKGBUILD multilib/lib32-gdk-pixbuf2/PKGBUILD multilib/lib32-glew/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-jack/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/lib32-pango/PKGBUILD multilib/wine/PKGBUILD social/miniupnpc/PKGBUILD testing/icedtea-web-java7/PKGBUILD testing/sqlite3/PKGBUILD ~xihh/abiword/PKGBUILD
Diffstat (limited to 'community/tre/PKGBUILD')
-rw-r--r--community/tre/PKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/community/tre/PKGBUILD b/community/tre/PKGBUILD
index 9a249f159..0e7ab68e5 100644
--- a/community/tre/PKGBUILD
+++ b/community/tre/PKGBUILD
@@ -1,28 +1,33 @@
-# Contributor: Igor Galic<i.galic@gmail.com>
+# $Id: PKGBUILD 56023 2011-09-29 06:45:36Z andrea $
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de
+# Contributor: Igor Galic<i.galic@gmail.com>
+
pkgname=tre
pkgver=0.8.0
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
pkgdesc="POSIX compliant regexp matching library. Includes agrep for aproximate grepping."
-url="http://laurikari.net/tre/index.html"
+url="http://laurikari.net/tre"
depends=('glibc')
license=('custom:BSD')
-source=(http://laurikari.net/tre/$pkgname-$pkgver.tar.bz2)
+source=("http://laurikari.net/tre/$pkgname-$pkgver.tar.bz2")
md5sums=('b4d3232593dadf6746f4727bdda20b41')
options=('!libtool')
build() {
cd ${srcdir}/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-static || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ ./configure --prefix=/usr --enable-static
+ make
+}
+
+package(){
+ cd ${srcdir}/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
install -Dm644 ${srcdir}/$pkgname-$pkgver/LICENSE \
- ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
- install -d ${pkgdir}/usr/share/doc/$pkgname
+ ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
+ install -d ${pkgdir}/usr/share/doc/$pkgname
cd doc
- for _i in default.css tre-api.html tre-syntax.html
- do
+ for _i in default.css tre-api.html tre-syntax.html; do
install -Dm644 ${_i} ${pkgdir}/usr/share/doc/$pkgname/${_i}
- done || return 1
+ done
}