diff options
author | Enzo Barrett | 2019-01-20 16:38:33 -0700 |
---|---|---|
committer | Enzo Barrett | 2019-01-20 16:38:33 -0700 |
commit | 93e34f06051a733acf2bfe60068621e13bd0161f (patch) | |
tree | 62a691aba7fcbc446cfdaf76707f711ae5d3c9db | |
download | aur-npiano.tar.gz |
Create PKGBUILD and .SRCINFO V0.9
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..121a186ad10d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = npiano + pkgdesc = A piano in ncurses + pkgver = 0.9 + pkgrel = 1 + url = https://github.com/enzobarrett/npiano + arch = any + license = GPL + depends = ncurses + depends = beep + source = https://github.com/enzobarrett/npiano/archive/V0.9.tar.gz + sha256sums = 3154af8f47b38be55fef6efa4ee1683c9ab42faa0ec00d3c8803be80c586448f + +pkgname = npiano + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..06280da1c58c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Enzo Barrett <enzobarrett@gmail.com> +pkgname=npiano +pkgver=0.9 +pkgrel=1 +pkgdesc="A piano in ncurses" +arch=('any') +url="https://github.com/enzobarrett/npiano" +license=('GPL') +depends=('ncurses' 'beep') +source=("${url}/archive/V${pkgver}.tar.gz") +sha256sums=('3154af8f47b38be55fef6efa4ee1683c9ab42faa0ec00d3c8803be80c586448f') + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + install -m755 -D npiano $pkgdir/usr/bin/$pkgname +} |