summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d21e68b58aed2703e84f6a4e154f5158bc5a566e (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
# Maintainer: naniwakun <radio.naniwa[atmark]gmail.com>
pkgname=jd-gtk3
pkgver=r2350.b873831c
pkgrel=5
pkgdesc="A 2channel browser written in C++ using gtkmm3 (patched). This is beta version by experimental support."
arch=('i686' 'x86_64')
url="https://github.com/ma8ma/JD/tree/gtk3-preview"
license=('GPL2')
makedepends=('git')
depends=('gnutls' 'libsm' 'gtkmm3' 'autoconf-archive')
conflicts=('jd' 'jd-svn' )
replaces=('jdim-git' )
source=('git://github.com/ma8ma/JD.git#branch=gtk3-preview')
sha256sums=('SKIP')

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

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

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