Commit 4b95c9ff authored by Bernhard Landauer's avatar Bernhard Landauer

fix version display

parent a886a28e
......@@ -4,8 +4,9 @@ pkgbase=pamac-qt
pkgname=('pamac-qt')
_pkgver=0.2.0
pkgver=0.2.0
pkgrel=0.3
pkgrel=0.4
_commit=e9c9acaaac278af1b5229e74686d96cd37485f35
_ver="$pkgver-g${_commit:0:7}"
pkgdesc="A QT5 frontend for libalpm - early preview version"
arch=('i686' 'x86_64')
url="https://gitlab.manjaro.org/applications/pamac-qt"
......@@ -18,6 +19,11 @@ source=(#"pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/v$_pkgver/$pkgname-v$_pkg
"pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz")
sha256sums=('486f33593a636cb9a89c06acf089bf13f65cec1375666c0e01d1811017fd3d85')
prepare() {
cd "$srcdir/$pkgname-$_commit"
sed -i "s/VERSION =.*/VERSION =\"$_ver\"/" Pamac-Qt.pro
}
build() {
cd "$srcdir/$pkgname-$_commit"
qmake-qt5 -makefile Pamac-Qt.pro
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment