diff options
author | fusion809 | 2016-07-09 12:33:39 +1000 |
---|---|---|
committer | fusion809 | 2016-07-09 12:33:39 +1000 |
commit | 4cece81ffa11fd23df593c2a17cc8c7149703692 (patch) | |
tree | 14dfc6bf720b6ffe831505d0e18bd8241b6badda | |
download | aur-4cece81ffa11fd23df593c2a17cc8c7149703692.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..90d5c43a824a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Sat Jul 9 02:33:39 UTC 2016 +pkgbase = github-release + pkgdesc = Command-line app to create and edit releases on GitHub (and upload artifacts) + pkgver = 0.6.2 + pkgrel = 1 + url = https://github.com/aktau/github-release + arch = i686 + arch = x86_64 + license = MIT + makedepends = go + source = https://github.com/aktau/github-release/archive/v0.6.2.tar.gz + sha512sums = SKIP + +pkgname = github-release + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7e79419ca762 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.gz +*.xz +pkg +src diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8c506089c819 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Brenton Horne <brentonhorne77 at gmail dot com> + +pkgname=github-release +pkgver=0.6.2 +pkgrel=1 +pkgdesc="Command-line app to create and edit releases on GitHub (and upload artifacts)" +arch=('i686' 'x86_64') +url="https://github.com/aktau/github-release" +makedepends=('go') +license=('MIT') +source=("${url}/archive/v${pkgver}.tar.gz") +sha512sums=("SKIP") + +build() { + cd $srcdir/$pkgname-$pkgver + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + install -dm755 "${pkgdir}/usr/bin" + install -dm644 "${pkgdir}/usr/share/licenses/${pkgname}" + + install -Dm755 github-release \ + "${pkgdir}/usr/bin/github-release" + install -Dm644 LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |