db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / tsocks / repos / extra-x86_64 / PKGBUILD
blobccff0621eb438e6a44c0ca2310877b82eae76a3e
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
3 pkgname=tsocks
4 pkgver=1.8beta5
5 pkgrel=9
6 pkgdesc='Transparent SOCKS proxying library'
7 url='http://tsocks.sourceforge.net/'
8 license=('GPL')
9 arch=('x86_64')
10 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
11 sha512sums=('b41636ea6b77abf0d1e3cda7bbca4e7ee96f3cdb1843f3a2c530650931e5567f67921de67b28ba9bab0f51df39770a3f7fb458cf7ac78aad7aa861923df2c4a9')
13 build() {
14         cd "${srcdir}/${pkgname}-1.8"
15         export CPPFLAGS=
16         ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib
17         make
20 package() {
21         cd "${srcdir}/${pkgname}-1.8"
22         make DESTDIR="${pkgdir}" install
23         install -d "${pkgdir}/usr/share/${pkgname}"
24         install -m644 tsocks.conf.{simple,complex}.example "${pkgdir}/usr/share/${pkgname}"