summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlarchunix2015-06-08 22:43:47 +0200
committerlarchunix2015-06-08 22:43:47 +0200
commit78c5a13de5e84c99b06e30fc73cbff906bc6ec69 (patch)
tree66abb63a440aacd15e3b24f1543f8c2c7ed50e76 /PKGBUILD
downloadaur-78c5a13de5e84c99b06e30fc73cbff906bc6ec69.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..57065e2ef50
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=colorsvn
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="Subversion output colorizer"
+arch=('any')
+url="http://$pkgname.tigris.org"
+license=('GPL2')
+depends=('subversion' 'perl')
+backup=("etc/${pkgname}rc"
+ "etc/profile.d/$pkgname-env.sh")
+source=("http://$pkgname.tigris.org/files/documents/4414/49311/$pkgname-$pkgver.tar.gz")
+md5sums=('1fd09db47f44227499c19f9ba3054b97')
+
+build() {
+ # Build colorsvn files
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ # Copy colorsvn files in package archive
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ # Copy CREDITS file in package archive
+ install -D -o root -g root -m 644 CREDITS "$pkgdir/usr/share/licenses/$pkgname/CREDITS"
+}
+
+# vim: set ft=sh ts=4 sw=4 noet: