aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sl/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-10-09 00:40:41 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-10-09 00:41:14 +0200
commit179edbc5bc20281c5682af6715c2f9e916db40bc (patch)
tree8aac175b96744853fbdc6bfb3ba6bb65c12009ae /testing/sl/APKBUILD
parent204fcfaa4b3de6ca29441648a1e08107eb7bbe0d (diff)
downloadaports-179edbc5bc20281c5682af6715c2f9e916db40bc.tar.bz2
aports-179edbc5bc20281c5682af6715c2f9e916db40bc.tar.xz
testing/sl: clean-up abuild
Diffstat (limited to 'testing/sl/APKBUILD')
-rw-r--r--testing/sl/APKBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/testing/sl/APKBUILD b/testing/sl/APKBUILD
index 73b7eac50a..9bcc47d3c4 100644
--- a/testing/sl/APKBUILD
+++ b/testing/sl/APKBUILD
@@ -7,24 +7,18 @@ pkgdesc="Cure your bad habit of mistyping"
url="https://github.com/mtoyoda/sl"
arch="all"
license="MIT"
-depends=""
-depends_dev=""
-makedepends="$depends_dev ncurses-dev"
-install=""
-subpackages=""
-source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+makedepends="ncurses-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/mtoyoda/$pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -Dm 755 sl "$pkgdir"/usr/bin/sl
}
-md5sums="5d5fe203eb19598821647ba8db5dde6c sl-5.02.tar.gz"
-sha256sums="1e5996757f879c81f202a18ad8e982195cf51c41727d3fea4af01fdcbbb5563a sl-5.02.tar.gz"
sha512sums="a4d18bc79d7e0eca7748b10226a6b2a85a7a01d636e4e9215bf524a7849bc5cb250034326e5a69f7423d79e40b92182fddc0e56e25df616edae06369c782cb26 sl-5.02.tar.gz"