updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / vcp / PKGBUILD
blobd27d6de570515af5308099945922bbfef02381a9
1 #Contributor: Otakar Truněček <otakar.trunecek@gmail.com>
2 # Contributor: Stefan Husmann <stefan.husmann@t-systems.com>
4 pkgname=vcp
5 pkgver=2.2
6 pkgrel=4
7 pkgdesc="Visual cp: a cp program with some scrollbars"
8 url="http://www.freebsdsoftware.org/sysutils/vcp.html"
9 license=('custom:BSD')
10 arch=('i686' 'x86_64')
11 depends=('ncurses')
12 backup=(etc/vcp.conf)
13 source=(http://freebsdcluster.org/~mich/software/$pkgname-$pkgver.tar.gz)
14 md5sums=('90a47777e6fcf364e2e1fd12e8b67d69')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
18   make || return 1
19   install -D -m 755 -o root -g root vcp $pkgdir/usr/bin/vcp || return 1
20   install -D -m 644 -o root -g root vcp.1.gz \
21     $pkgdir/usr/share/man/man1/vcp.1.gz || return 1
22   install -D -m 644 -o root -g root vcp.pl.1.gz \
23     $pkgdir/usr/share/man/pl/man1/vcp.1.gz || return 1
24   install -D -m 644 -o root -g root vcp.conf.sample \
25     $pkgdir/etc/vcp.conf || return 1
26   install -D -m 644 COPYRIGHT \
27     $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT || return 1