updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sock / PKGBUILD
blob960caa6478b7fbc1c14a19167773d90166a2651b
1 # Maintainer: Yuri Bochkarev <baltazar.bz@gmail.com>
2 pkgname=sock
3 pkgver=0.3.2
4 pkgrel=2
5 pkgdesc='Standalone version of Richard Stevens "sock" program'
6 arch=('i686')
7 url="http://www.icir.org/christian/sock.html"
8 license=('custom')
9 provides=('sock')
10 conflicts=('sock')
11 source=(http://www.icir.org/christian/downloads/$pkgname-$pkgver.tar.gz)
12 md5sums=('3fd1b198fc56e256985dc6c7a3464962')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   ./configure --prefix=/usr
18   make
21 package() {
22   cd "$srcdir/$pkgname-$pkgver"
24   make DESTDIR="$pkgdir/" install
26   # License
27   install -d ${pkgdir}/usr/share/licenses/$pkgname
28   cat ${srcdir}/$pkgname-$pkgver/COPYING > ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
31 # vim:set ts=2 sw=2 et: