diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7846c6f2b43c --- /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 000000000000..57065e2ef50c --- /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: |