diff options
author | marazmista | 2016-07-26 17:21:35 +0200 |
---|---|---|
committer | marazmista | 2016-07-26 17:21:35 +0200 |
commit | 465265ef9912cf0672608dd16ff667579153f4bd (patch) | |
tree | 1ccbc94c31efd63a36fa0fecf98a2d49128ba0d7 | |
parent | bcf3a16ed30b3753abe8e2dd0585009bcf635d76 (diff) | |
download | aur-465265ef9912cf0672608dd16ff667579153f4bd.tar.gz |
build from tag release instead of latest master commit
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 12 insertions, 7 deletions
@@ -1,8 +1,9 @@ # Maintainer: marazmista <marazmista@gmail.com> pkgname=radeon-profile-git +pkgbase=radeon-profile pkgver=20160527 -pkgrel=2 +pkgrel=3 pkgdesc="App for display info about radeon card" url="http://github.com/marazmista/radeon-profile" arch=('i686' 'x86_64') @@ -18,17 +19,21 @@ optdepends=('radeon-profile-daemon: system daemon for reading card info' 'xf86-video-ati: radeon open source driver') provides=('radeon-profile') replaces=('radeon-profile') -source=('git+https://github.com/marazmista/radeon-profile.git') +source=("https://github.com/marazmista/radeon-profile/archive/$pkgver.tar.gz") sha256sums=('SKIP') build() { + +tar xvf $pkgver.tar.gz + mkdir -p build cd build -lrelease ../radeon-profile/radeon-profile/radeon-profile.pro -cp ../radeon-profile/radeon-profile/*.qm . -qmake-qt5 "../radeon-profile/radeon-profile/" +lrelease ../$pkgbase-$pkgver/radeon-profile/radeon-profile.pro +cp ../$pkgbase-$pkgver/radeon-profile/*.qm . + +qmake-qt5 ../$pkgbase-$pkgver/radeon-profile make } @@ -39,8 +44,8 @@ make prefix="${pkgdir}" install install -Dm644 "$srcdir/build/radeon-profile" "$pkgdir/usr/bin/radeon-profile" chmod +x "$pkgdir/usr/bin/radeon-profile" -install -Dm644 "$srcdir/radeon-profile/radeon-profile/extra/radeon-profile.png" "$pkgdir/usr/share/pixmaps/radeon-profile.png" -install -Dm644 "$srcdir/radeon-profile/radeon-profile/extra/radeon-profile.desktop" "$pkgdir/usr/share/applications/radeon-profile.desktop" +install -Dm644 "$srcdir/$pkgbase-$pkgver/radeon-profile/extra/radeon-profile.png" "$pkgdir/usr/share/pixmaps/radeon-profile.png" +install -Dm644 "$srcdir/$pkgbase-$pkgver/radeon-profile/extra/radeon-profile.desktop" "$pkgdir/usr/share/applications/radeon-profile.desktop" for translation in *.qm do |