aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lshell
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-25 19:50:51 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-25 19:50:53 +0000
commitb056f6923f1d3b1c3b3bda25014ecb49b8aee34d (patch)
tree0433d1f068e60711548f9317877de9ab173a37e8 /testing/lshell
parente239bd4b57a3fd240f9f1d3346dc48237f5d2514 (diff)
downloadaports-b056f6923f1d3b1c3b3bda25014ecb49b8aee34d.tar.bz2
aports-b056f6923f1d3b1c3b3bda25014ecb49b8aee34d.tar.xz
testing/lshell: modernize APKBUILD
Diffstat (limited to 'testing/lshell')
-rw-r--r--testing/lshell/APKBUILD24
1 files changed, 6 insertions, 18 deletions
diff --git a/testing/lshell/APKBUILD b/testing/lshell/APKBUILD
index 3bb59c98a1..68237ebf6d 100644
--- a/testing/lshell/APKBUILD
+++ b/testing/lshell/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=lshell
pkgver=0.9.18
-pkgrel=1
+pkgrel=2
pkgdesc="Python-based limited Shell"
url="http://ghantoos.org/limited-shell-lshell"
arch="noarch"
@@ -10,31 +10,19 @@ license="GPL3+"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
-install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ghantoos/$pkgname/archive/$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"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="3da7d21e15bd950fe8ed2afc4cac8595 lshell-0.9.18.tar.gz"
-sha256sums="7ffb37bf7a1d8c63845939a2e916e45b9cd9f321daa6b3e4c8f680e3c50e8bbd lshell-0.9.18.tar.gz"
sha512sums="546e55fd04d9913adbf6ff181d365f0aff8c94131229d4be994b29e94b925943fb32f99dc145172938535565f69405d0edad5bd2d9b7125f8770d0f0c591fece lshell-0.9.18.tar.gz"