summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b61fb2715d07f56997216c67a141909390c1f0bc (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
# Maintainer: naniwakun <radio.naniwa[atmark]gmail.com>
pkgname=jdim-git-dev
pkgver=r2637.f5e5b667
pkgrel=1
pkgdesc="A 2channel browser written in C++ using gtkmm3. This is extra test version."
arch=('i686' 'x86_64')
url="https://github.com/JDimproved/JDim/tree/test"
license=('GPL2')
makedepends=('git')
depends=('gnutls' 'libsm' 'gtkmm3' 'autoconf-archive')
conflicts=('jd' 'jd-svn' 'jd-gtk3' 'jd-git' )
source=('git://github.com/JDimproved/JDim.git#branch=test')
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/JDim"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/JDim"
  autoreconf -i
  ./configure --prefix=/usr --with-stdthread  --with-gtkmm3
  make
}

package() {
  cd "${srcdir}/JDim"
  make DESTDIR=${pkgdir} install
}