Last active
December 27, 2015 00:59
-
-
Save pho/7241299 to your computer and use it in GitHub Desktop.
dianara-git PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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