summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..6f1fd93
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Florian "Bluewind" Pritz <flo@xssn.at>
+
+pkgname=fb-client
+pkgver=2.0.3.r6.g56aea98
+pkgrel=1
+pkgdesc="Client for paste.xinu.at"
+arch=("any")
+url="https://paste.xinu.at"
+license=('GPL3')
+depends=('python' 'python-pycurl' 'python-xdg')
+optdepends=('xclip: for automatically copying the URL into the clipboard')
+source=("git+https://git.server-speed.net/users/flo/fb#branch=dev")
+md5sums=('SKIP')
+validpgpkeys=("CFA6AF15E5C74149FC1D8C086D1655C14CE1C13E")
+
+pkgver() {
+ cd "$srcdir/fb"
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/fb"
+
+ make
+}
+
+package() {
+ cd "$srcdir/fb"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: