[arch-commits] Commit in tre/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Nov 10 00:31:44 UTC 2018
Date: Saturday, November 10, 2018 @ 00:31:41
Author: foutrelis
Revision: 405546
archrelease: copy trunk to community-staging-x86_64
Added:
tre/repos/community-staging-x86_64/
tre/repos/community-staging-x86_64/PKGBUILD
(from rev 405545, tre/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: tre/repos/community-staging-x86_64/PKGBUILD (from rev 405545, tre/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-10 00:31:41 UTC (rev 405546)
@@ -0,0 +1,35 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de
+# Contributor: Igor Galic<i.galic at gmail.com>
+
+pkgname=tre
+pkgver=0.8.0
+pkgrel=5
+arch=('x86_64')
+pkgdesc="POSIX compliant regexp matching library. Includes agrep for approximate grepping."
+url="http://laurikari.net/tre"
+depends=('glibc')
+license=('custom:BSD')
+source=("http://laurikari.net/tre/$pkgname-$pkgver.tar.bz2")
+md5sums=('b4d3232593dadf6746f4727bdda20b41')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./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"
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+
+ cd doc
+ for f in default.css tre-api.html tre-syntax.html; do
+ install -Dm644 "$f" "$pkgdir/usr/share/doc/$pkgname/$f"
+ done
+}
More information about the arch-commits
mailing list