diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
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: |