-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
43 lines (38 loc) · 1.05 KB
/
PKGBUILD
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
38
39
40
41
42
43
# Maintainer: Ben Iofel <[email protected]>
# Contributor: Patrick Griffis <[email protected]>
_gitname='vaccine'
pkgname=vaccine-git
pkgver=v0.0.1.r0.g0f674c1
pkgrel=1
pkgdesc="A GTK+3 4chan client for the linux desktop"
arch=('i686' 'x86_64')
url="https://github.com/VaccineApp/vaccine"
license=('GPL3')
depends=('gtk3' 'gtksourceview3' 'libsoup' 'json-glib' 'libgee' 'gst-plugins-bad')
makedepends=('git' 'automake' 'autoconf-archive' 'vala' 'appstream-glib')
install='vaccine.install'
provides=('vaccine')
conflicts=('vaccine')
source=('git://github.com/VaccineApp/vaccine.git'
'git://github.com/VaccineApp/bayes-glib.git')
md5sums=('SKIP' 'SKIP')
pkgver() {
cd "$_gitname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_gitname"
git submodule init
git config submodule.bayes-glib.url $srcdir/bayes-glib
git submodule update
}
build() {
cd "$_gitname"
./autogen.sh
./configure --prefix=/usr --disable-debug
make -s
}
package() {
cd "$_gitname"
DESTDIR="$pkgdir" make install
}