summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Girard2015-10-08 18:14:48 +0200
committerCedric Girard2015-10-08 18:14:48 +0200
commit8fe34cd1ae14906e70851a06bbb88c5c2ec1e773 (patch)
treefdbce51cbdbc5b99ba697ff1b0b0851a78d981cb
downloadaur-pbin-git.tar.gz
first package version
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b5d8ab57d2c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Oct 8 16:14:35 UTC 2015
+pkgbase = pbin-git
+ pkgdesc = CLI tool for Stikked based pastebin services
+ pkgver = r10.adb4784
+ pkgrel = 1
+ url = https://github.xom/glensc/pbin
+ arch = any
+ license = GPL2
+ makedepends = git
+ depends = curl
+ source = pbin::git+https://github.com/glensc/pbin
+ md5sums = SKIP
+
+pkgname = pbin-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cf06cbdc061
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+
+pkgname=pbin-git
+pkgver=r10.adb4784
+pkgrel=1
+pkgdesc="CLI tool for Stikked based pastebin services"
+arch=(any)
+url="https://github.xom/glensc/pbin"
+license=(GPL2)
+makedepends=(git)
+depends=(curl)
+
+source=('pbin::git+https://github.com/glensc/pbin')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir"/pbin
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir"/pbin
+
+ install -D -m755 pbin.sh "$pkgdir/usr/bin/pbin"
+
+}
+
+# vim:set ts=2 sw=2 et: