├── vaccine.install ├── .SRCINFO └── PKGBUILD /vaccine.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | glib-compile-schemas /usr/share/glib-2.0/schemas 3 | } 4 | 5 | post_upgrade() { 6 | post_install 7 | } 8 | 9 | post_remove() { 10 | post_install 11 | } 12 | -------------------------------------------------------------------------------- /.SRCINFO: -------------------------------------------------------------------------------- 1 | pkgbase = vaccine-git 2 | pkgdesc = A GTK+3 4chan client for the linux desktop 3 | pkgver = v0.0.1.r0.g0f674c1 4 | pkgrel = 1 5 | url = https://github.com/VaccineApp/vaccine 6 | install = vaccine.install 7 | arch = i686 8 | arch = x86_64 9 | license = GPL3 10 | makedepends = git 11 | makedepends = automake 12 | makedepends = autoconf-archive 13 | makedepends = vala 14 | makedepends = appstream-glib 15 | depends = gtk3 16 | depends = gtksourceview3 17 | depends = libsoup 18 | depends = json-glib 19 | depends = libgee 20 | depends = gst-plugins-bad 21 | provides = vaccine 22 | conflicts = vaccine 23 | source = git://github.com/VaccineApp/vaccine.git 24 | source = git://github.com/VaccineApp/bayes-glib.git 25 | md5sums = SKIP 26 | md5sums = SKIP 27 | 28 | pkgname = vaccine-git 29 | 30 | -------------------------------------------------------------------------------- /PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ben Iofel 2 | # Contributor: Patrick Griffis 3 | 4 | _gitname='vaccine' 5 | pkgname=vaccine-git 6 | pkgver=v0.0.1.r0.g0f674c1 7 | pkgrel=1 8 | pkgdesc="A GTK+3 4chan client for the linux desktop" 9 | arch=('i686' 'x86_64') 10 | url="https://github.com/VaccineApp/vaccine" 11 | license=('GPL3') 12 | depends=('gtk3' 'gtksourceview3' 'libsoup' 'json-glib' 'libgee' 'gst-plugins-bad') 13 | makedepends=('git' 'automake' 'autoconf-archive' 'vala' 'appstream-glib') 14 | install='vaccine.install' 15 | provides=('vaccine') 16 | conflicts=('vaccine') 17 | source=('git://github.com/VaccineApp/vaccine.git' 18 | 'git://github.com/VaccineApp/bayes-glib.git') 19 | md5sums=('SKIP' 'SKIP') 20 | 21 | pkgver() { 22 | cd "$_gitname" 23 | git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' 24 | } 25 | 26 | prepare() { 27 | cd "$_gitname" 28 | git submodule init 29 | git config submodule.bayes-glib.url $srcdir/bayes-glib 30 | git submodule update 31 | } 32 | 33 | build() { 34 | cd "$_gitname" 35 | ./autogen.sh 36 | ./configure --prefix=/usr --disable-debug 37 | make -s 38 | } 39 | 40 | package() { 41 | cd "$_gitname" 42 | DESTDIR="$pkgdir" make install 43 | } 44 | --------------------------------------------------------------------------------