From 3260da2f55078d6a73729cbbe89ecbc4cd86fe89 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 6 Feb 2019 17:28:00 +0100 Subject: Add PKGBUILD to build development packages Signed-off-by: Florian Pritz --- PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 PKGBUILD 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 + +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: -- cgit v1.2.3-24-g4f1b