diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-29 12:33:34 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-10-29 12:34:04 +0000 |
commit | 36690e46f546725a183a89b366b3723e0e706997 (patch) | |
tree | 137323239a8429e20580c1ae76cf790a9279caf7 /testing/linuxconsoletools/APKBUILD | |
parent | c6e8dbdbd42fc99d297045cf6bd0e3d9474e53ad (diff) | |
download | aports-36690e46f546725a183a89b366b3723e0e706997.tar.bz2 aports-36690e46f546725a183a89b366b3723e0e706997.tar.xz |
testing/linuxconsoletools: upgrade to 1.6.0 and modernize
Diffstat (limited to 'testing/linuxconsoletools/APKBUILD')
-rw-r--r-- | testing/linuxconsoletools/APKBUILD | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/testing/linuxconsoletools/APKBUILD b/testing/linuxconsoletools/APKBUILD index 0ab421387f..d53cc5fe4c 100644 --- a/testing/linuxconsoletools/APKBUILD +++ b/testing/linuxconsoletools/APKBUILD @@ -1,43 +1,25 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=linuxconsoletools -pkgver=1.4.9 +pkgver=1.6.0 pkgrel=0 pkgdesc="Tools for connecting joysticks & legacy devices to the kernels input subsystem" url="http://sourceforge.net/projects/linuxconsole/" arch="all" license="GPLv2+" -depends="" -depends_dev="" -makedepends="$depends_dev linux-headers sdl-dev" -install="" +makedepends="linux-headers sdl-dev" subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/linuxconsole/linuxconsoletools-$pkgver.tar.bz2 - sys-time.patch" +source="http://downloads.sourceforge.net/linuxconsole/linuxconsoletools-$pkgver.tar.bz2" -_builddir="$srcdir"/linuxconsoletools-$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" - make PREFIX=/usr || return 1 + cd "$builddir" + make PREFIX=/usr } package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make PREFIX=/usr DESTDIR="$pkgdir" install } -md5sums="9b91718fefabc021ca7a5adbf13e3fde linuxconsoletools-1.4.9.tar.bz2 -e51dda85eea08232d8013781e7756d2d sys-time.patch" -sha256sums="fa9c64f98cd991e71e23fa9b673635e23f0b69f0325593c0a56b8960bb139b67 linuxconsoletools-1.4.9.tar.bz2 -295925633ceb5e8aa3033b3b4b04276e4cdca6646c1c52bf5cee09ec8f1aa9ce sys-time.patch" -sha512sums="c2ea4f8f868b3d616bb0a4b84d6a051ed444251cc5d40c775863a5163359c9c34ee9647ff1c74e8659f7fef10d8722b4431b2e1706cf5052505731c1a1232ddd linuxconsoletools-1.4.9.tar.bz2 -a96b37a365a5fb067d017b3790f4e09fd733639a5e65f93d44138e89efbcedc87b11a35f39f40623cdac743207349fbb28d4de982d5694a6f9b8981bce29dd68 sys-time.patch" +sha512sums="35ca923cceca729bcbab95dff18682abd0d87a297e70aa8707fbabccde018fef0775a99195af4bf9111ba33210a14c10d1a766f83112cd535930a1ae430c7c75 linuxconsoletools-1.6.0.tar.bz2" |