diff options
author | BuildTools | 2021-04-29 14:40:34 -0400 |
---|---|---|
committer | BuildTools | 2021-04-29 14:40:34 -0400 |
commit | 64acad272d353deee0b2edbe69c55dc3f15f72f0 (patch) | |
tree | a07e104a2a051ba9e52ff25febb65fa1909109a5 | |
download | aur-64acad272d353deee0b2edbe69c55dc3f15f72f0.tar.gz |
Setup package
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4d0b03d120c7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = nowpm-git + pkgdesc = the no-bullshit wpm utility + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/jnats/nowpm + arch = any + license = custom:beerware + depends = coreutils + depends = grep + depends = sed + depends = bash + provides = nowpm + source = nowpm::git+https://github.com/jnats/nowpm.git + md5sums = SKIP + +pkgname = nowpm-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cd9b0d1c78b5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Matt C <matt@xhec.us> +# Upstream author: jnats <jnats@salyut.one> +pkgname=nowpm-git +_pkgname=nowpm +pkgver=1.0 +pkgrel=1 +pkgdesc="the no-bullshit wpm utility" +arch=('any') +url="https://github.com/jnats/nowpm" +license=('custom:beerware') +depends=('coreutils' 'grep' 'sed' 'bash') +provides=('nowpm') + +source=("nowpm::git+https://github.com/jnats/nowpm.git") + +md4sums=("SKIP") + +package() { + mkdir -p $pkgdir/usr/bin + mkdir -p $pkgdir/usr/share/licenses/$_pkgname + cd $_pkgname + chmod +x nowpm + cp nowpm $pkgdir/usr/bin + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" +} +md5sums=('SKIP') |