diff options
author | Shadowsith | 2018-07-10 11:30:30 +0200 |
---|---|---|
committer | Shadowsith | 2018-07-10 11:30:30 +0200 |
commit | f1a8abe388f0e13ff766698b0491e074ff5639cf (patch) | |
tree | 6575cc9bb9348246156e4fbc90affa71607cd629 /PKGBUILD | |
parent | e81f3062f46e00f5749590f273cc3db2e9eac92b (diff) | |
download | aur-f1a8abe388f0e13ff766698b0491e074ff5639cf.tar.gz |
small changes on pkgbuild are made (qmake added)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -2,7 +2,7 @@ pkgname=qpicospeaker-git pkgsrc=qpicospeaker -pkgver=r10.ec83c9a +pkgver=r12.276c10f pkgrel=1 pkgdesc='Qt GUI for the svox-pico text-to-speech engine' arch=('i686' 'x86_64') @@ -17,16 +17,30 @@ install= source=("git+https://github.com/Shadowsith/qpicospeaker") sha256sums=('SKIP') +prepare() { + build=build + pwd + if [ -d "$build"]; then + rm -r build + fi + if [ ! -d "$build" ]; then + mkdir build + fi +} + pkgver() { cd "$pkgsrc" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - make -C ./qpicospeaker/build + cd build + qmake ../qpicospeaker/qpicospeaker/qpicospeaker.pro + make } package() { - make install -C ./qpicospeaker/build + #make install -C ./qpicospeaker/build + pwd + install -Dm755 ./build/qpicospeaker "$pkgdir/usr/bin/qpicospeaker" } - |