Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created July 18, 2017 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d26323cd5355555d2e22a53f119a349e to your computer and use it in GitHub Desktop.
Save anonymous/d26323cd5355555d2e22a53f119a349e to your computer and use it in GitHub Desktop.
pkgname=jd-patched
pkgver=r2262.f8d91689
pkgrel=1
pkgdesc="A 2channel browser written in C++ using gtkmm (patched)"
arch=('i686' 'x86_64')
url="https://github.com/yama-natuki/JD/tree/test"
license=('GPL2')
makedepends=('git')
depends=('gnutls' 'libsm' 'gtkmm')
conflicts=('jd' 'jd-svn')
source=('git://github.com/yama-natuki/JD#branch=test')
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
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