aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fasd/APKBUILD
blob: 470c8dd7bfa0e33fd5449b31d213ccbe4bf6a928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"