diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-07-28 23:47:23 +0000 |
---|---|---|
committer | Shiz <hi@shiz.me> | 2017-07-31 02:46:13 +0200 |
commit | caad6ace2ec73fd38720e2798a45ae19fa8fe357 (patch) | |
tree | 77ca593d1c0b2f95b5cfa19d845dab5b22c094d3 /testing/autocutsel | |
parent | c1ee0a0d94fd136c6306c350631be0853996bef5 (diff) | |
download | aports-caad6ace2ec73fd38720e2798a45ae19fa8fe357.tar.bz2 aports-caad6ace2ec73fd38720e2798a45ae19fa8fe357.tar.xz |
testing/autocutsel: modernize APKBUILD
Diffstat (limited to 'testing/autocutsel')
-rw-r--r-- | testing/autocutsel/APKBUILD | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/testing/autocutsel/APKBUILD b/testing/autocutsel/APKBUILD index cfc7a8374c..2365984a3b 100644 --- a/testing/autocutsel/APKBUILD +++ b/testing/autocutsel/APKBUILD @@ -7,34 +7,20 @@ pkgdesc="automated xcutsel" url="http://www.nongnu.org/autocutsel/" arch="all" license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev libx11-dev libxaw-dev" -subpackages="" +makedepends="libx11-dev libxaw-dev" source="https://github.com/sigmike/autocutsel/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" -_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" - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 - make || return 1 + cd "$builddir" + ./configure --prefix=/usr --mandir=/usr/share/man + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="7d5b96e5f7b79b883d8350f104043366 autocutsel-0.10.0.tar.gz" -sha256sums="a2376330aa1a65f36621595a5a4eb5c2cabc16854b69d66c285f11f89bd05e3f autocutsel-0.10.0.tar.gz" sha512sums="2d9b7114fde67ee217ceee673e32b407eef5b266a9d457a83b35d1c6227e5873cc7928aa10f7d84ce5e8c78d4940ee29985696f49b4015269584f1559f6b6d1d autocutsel-0.10.0.tar.gz" |