diff options
author | 7heo <7heo@mail.com> | 2016-09-09 12:06:47 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-09-11 12:23:10 +0200 |
commit | e1d05a60b5d37de6a5e4b54948b9c6d715fe1fe5 (patch) | |
tree | c694e5731ecb44bcdef317799c6b99f61fb4f7de /main/tsocks | |
parent | 45b4814c26eb87bb25438a6d2e1490e53bac1eaa (diff) | |
download | aports-e1d05a60b5d37de6a5e4b54948b9c6d715fe1fe5.tar.bz2 aports-e1d05a60b5d37de6a5e4b54948b9c6d715fe1fe5.tar.xz |
main/tsocks: cleanup
Diffstat (limited to 'main/tsocks')
-rw-r--r-- | main/tsocks/APKBUILD | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/main/tsocks/APKBUILD b/main/tsocks/APKBUILD index da9db19b7e..1d686e47d0 100644 --- a/main/tsocks/APKBUILD +++ b/main/tsocks/APKBUILD @@ -1,8 +1,8 @@ # Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Contributor: 7heo <7heo@mail.com> # Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> pkgname=tsocks pkgver=1.8_beta5 -_ver=${pkgver/_beta/beta} pkgrel=0 pkgdesc="A transparent SOCKS proxying library" url="http://tsocks.sourceforge.net/" @@ -13,22 +13,12 @@ depends_dev="" makedepends="" install="" subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_ver}.tar.gz +source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_beta/beta}.tar.gz configure.patch" - -_builddir="${srcdir}/${pkgname}-${pkgver%_*}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="${srcdir}/${pkgname}-${pkgver%_*}" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -41,7 +31,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="${pkgdir}" install || return 1 } |