blob: 836230fa6e81b3d0b69d27d78fcdee640fc17926 (
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
|
# Contributor: Sergej Pupykin <sergej.pupykin@dsr-company.com>
_base=hatexmpp
pkgname=${_base}-git
pkgver=r274.673d450
pkgrel=1
pkgdesc="XMPP fuse filesystem"
arch=(i686 x86_64)
url="https://github.com/l29ah/${_base}"
license=('custom:WTFPL')
depends=(fuse2 loudmouth)
makedepends=(astyle git)
source=(git+${url})
pkgver() {
cd "${pkgname%-git}"
# printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
sha256sums=('SKIP')
build() {
cd "${pkgname%-git}"
make
}
package() {
cd "${pkgname%-git}"
install -Dm0755 ${_base} "$pkgdir"/usr/bin/${_base}
install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|