testing/fasd: new aport

Command-line productivity booster, offers quick access to files and directories
https://github.com/clvv/fasd
This commit is contained in:
Jakub Jirutka 2018-04-04 22:58:48 +02:00
parent 59fc81812f
commit 8a97cde4de

25
testing/fasd/APKBUILD Normal file
View File

@ -0,0 +1,25 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=fasd
pkgver=1.0.1
pkgrel=0
pkgdesc="Command-line productivity booster, offers quick access to files and directories"
url="https://github.com/clvv/fasd"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/clvv/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
sed -i 's|^#!/usr/bin/env sh|#!/bin/sh|' fasd
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir" PREFIX=/usr
}
sha512sums="0f68fe5501379738894ba8fd0495a137398b6d0196aac040028c45ae486ec040ea7c2e4521f6ad43b5d22f48d048dbc734716f5e7400e3b2b3184f820e969a19 fasd-1.0.1.tar.gz"