Skip to content

Instantly share code, notes, and snippets.

@pho
Last active December 27, 2015 00:59
Show Gist options
  • Save pho/7241299 to your computer and use it in GitHub Desktop.
Save pho/7241299 to your computer and use it in GitHub Desktop.
dianara-git PKGBUILD
# Maintainer: pho <[email protected]>
pkgname=dianara-git
pkgver=1059.4687ca1
pkgrel=1
pkgdesc="A Qt pump.io client"
arch=( 'i686', 'x86_64')
url="https://gitorious.org/dianara/dianara-dev/"
license=('GPL')
depends=('qjson>=0.7' 'qoauth>=1.0' 'qca-ossl')
makedepends=('git' 'qconf' 'qt4')
conflicts=('dianara')
source=("${pkgname}::git+https://git.gitorious.org/dianara/dianara-dev.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
mkdir build
cd build
qmake-qt4 ..
make
}
package() {
cd "$srcdir/$pkgname/build/"
make INSTALL_ROOT="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment