: nply/foundationpkgs

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
# Maintainer: Bharatvaj Hemanth <bharatvaj@yahoo.com>

pkgname=fiche
pkgdesc="Command line pastebin for sharing terminal output."
pkgver=0.9.1
pkgrel=1
url="https://github.com/solusipse/fiche"
source=("${pkgname}-${pkgver}::$url/archive/refs/tags/$pkgver.tar.gz")
makedepends=("make")
license=('MIT')
arch=("any")
sha256sums=("f0cb279a2c2a4c0d1debcf56785fd8731a1427d2524221678cf69c9aaa85e831")

build() {
	cd "${pkgname}-${pkgver}"
	make
}

package() {
	cd "${pkgname}-${pkgver}"
	mkdir -p "${pkgdir}/usr/bin"
	install -m 0755 fiche "${pkgdir}/usr/bin"
}