summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f1fd93c9e09e630c0a7ccc76c7cf29e05c36616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: