# 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"
}
