diff options
author | Florian Pritz <bluewind@xinu.at> | 2019-02-06 17:28:00 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2019-02-06 17:28:00 +0100 |
commit | 3260da2f55078d6a73729cbbe89ecbc4cd86fe89 (patch) | |
tree | 246266ecdbc99f807623f24ecaf72ce463b1b228 | |
parent | 56aea98c351afd9f26f56ddb8791e9319fb26be2 (diff) |
Add PKGBUILD to build development packagesv2.0.4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | PKGBUILD | 33 |
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: |