blob: 40a9824240d251e69116bbef11ca834fc02b2efb (
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
34
35
36
37
|
# Maintainer: David Edmundson
pkgbase=libhangish-git
pkgname=('libhangish-git')
pkgver=r38.6dd0237
pkgrel=1
pkgdesc="Qt library for Google Talks"
arch=('i686' 'x86_64')
url="https://github.com/tiagosh/libhangish/"
license=('GPL')
makedepends=('cmake' 'git')
source=("git+https://github.com/tiagosh/libhangish/")
md5sums=('SKIP')
pkgver() {
cd libhangish
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../libhangish \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release
}
package_libhangish-git() {
depends=()
cd build
make DESTDIR="$pkgdir" install
}
|