aboutsummaryrefslogtreecommitdiffstats
path: root/community/asciinema/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-05-31 19:51:06 +0300
committerprspkt <prspkt@protonmail.com>2019-05-31 19:54:36 +0300
commit705955da362e6c615c788c5d23c0ebc8092f6649 (patch)
tree2e164b2162c94abcc6e9bd8c363173af8f595252 /community/asciinema/APKBUILD
parentbe28faf4dbfba4db3dcf7f745eda936627fdff35 (diff)
downloadaports-705955da362e6c615c788c5d23c0ebc8092f6649.tar.bz2
aports-705955da362e6c615c788c5d23c0ebc8092f6649.tar.xz
community/asciinema: modernize
Diffstat (limited to 'community/asciinema/APKBUILD')
-rw-r--r--community/asciinema/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/community/asciinema/APKBUILD b/community/asciinema/APKBUILD
index 5e75b27ff5..66181ddcc2 100644
--- a/community/asciinema/APKBUILD
+++ b/community/asciinema/APKBUILD
@@ -9,16 +9,13 @@ arch="all"
license="GPL-3.0-or-later"
depends="ncurses py3-setuptools"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/asciinema/asciinema/archive/v$pkgver.tar.gz"
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 man/asciinema.1 "$pkgdir/usr/share/man/man1/asciinema.1"
}