Skip to content

Instantly share code, notes, and snippets.

@naniwaKun
Last active September 24, 2018 19:06
Show Gist options
  • Save naniwaKun/7c552ed493bac514874c0daa8c692d02 to your computer and use it in GitHub Desktop.
Save naniwaKun/7c552ed493bac514874c0daa8c692d02 to your computer and use it in GitHub Desktop.
pkgname=jd-gtk3
pkgver=r2365.21c84419
pkgrel=1
pkgdesc="A 2channel browser written in C++ using gtkmm (patched)"
arch=('i686' 'x86_64')
url="https://github.com/ma8ma/JD/tree/gtk3-idea"
license=('GPL2')
makedepends=('git')
depends=('gnutls' 'libsm' 'gtkmm3' 'autoconf-archive')
conflicts=('jd' 'jd-svn' 'jd-costom')
source=('git://github.com/ma8ma/JD.git#branch=gtk3-idea')
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment