summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlarchunix2015-06-08 22:43:47 +0200
committerlarchunix2015-06-08 22:43:47 +0200
commit78c5a13de5e84c99b06e30fc73cbff906bc6ec69 (patch)
tree66abb63a440aacd15e3b24f1543f8c2c7ed50e76
downloadaur-78c5a13de5e84c99b06e30fc73cbff906bc6ec69.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7846c6f2b43
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = colorsvn
+ pkgdesc = Subversion output colorizer
+ pkgver = 0.3.3
+ pkgrel = 1
+ url = http://colorsvn.tigris.org
+ arch = any
+ license = GPL2
+ depends = subversion
+ depends = perl
+ backup = etc/colorsvnrc
+ backup = etc/profile.d/colorsvn-env.sh
+ source = http://colorsvn.tigris.org/files/documents/4414/49311/colorsvn-0.3.3.tar.gz
+ md5sums = 1fd09db47f44227499c19f9ba3054b97
+
+pkgname = colorsvn
+
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: