summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGina White2016-10-08 15:05:30 -0700
committerGina White2016-10-08 15:05:30 -0700
commitf7c3798325594ecf97389392e80fc57ebe68ea00 (patch)
tree9dae0de9cc2e781297c4b67e867e2a8571ae22e0
downloadaur-f7c3798325594ecf97389392e80fc57ebe68ea00.tar.gz
Version .0.0.1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD36
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e0c99beaffc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = poltroon
+ pkgdesc = An AUR agent for that prioritizes managing batches of packages.
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/ginabythebay/poltroon
+ arch = x86_64
+ arch = i686
+ license = MIT
+ makedepends = go>=1.7
+ depends = pacman
+ options = !strip
+ options = !emptydirs
+ source = https://github.com/ginabythebay/poltroon/archive/v0.0.1.tar.gz
+ sha256sums = 875002cddf725f7277e172ac96317c17b67e18d73d1c2517a313813ae4d696c6
+
+pkgname = poltroon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5c6ed29211d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Gina White <ginabytheabay@gmail.com>
+
+pkgname=poltroon
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="An AUR agent for that prioritizes managing batches of packages."
+arch=('x86_64' 'i686')
+url="https://github.com/ginabythebay/poltroon"
+license=('MIT')
+depends=('pacman')
+makedepends=('go>=1.7')
+options=('!strip' '!emptydirs')
+source=("https://github.com/ginabythebay/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('875002cddf725f7277e172ac96317c17b67e18d73d1c2517a313813ae4d696c6')
+
+_gourl=github.com/ginabythebay/poltroon
+
+build() {
+ mkdir -p "$srcdir"/src/github.com/ginabythebay
+ ln -sf "$srcdir/$pkgname-$pkgver" "$srcdir/src/$_gourl"
+
+ export GOPATH="$srcdir"
+ cd $srcdir/src/${_gourl}/
+ go install ./...
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm 755 "$srcdir/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
+
+