diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 14 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = envview pkgdesc = A simple graphical viewer for (inherited) environment variables - pkgver = 1.0.0 + pkgver = 1.0.1 pkgrel = 1 url = https://github.com/oliver-anhuth/envview arch = i686 @@ -9,7 +9,7 @@ pkgbase = envview makedepends = qt5-base makedepends = gcc-multilib depends = qt5-base - source = envview-1.0.0.tar.gz::https://github.com/oliver-anhuth/envview/archive/1.0.0.tar.gz + source = envview-1.0.1.tar.gz::https://github.com/oliver-anhuth/envview/archive/1.0.1.tar.gz sha256sums = SKIP pkgname = envview @@ -1,7 +1,7 @@ # Maintainer: Oliver Anhuth <oliver.anhuth at zoho.com> pkgname=envview -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 pkgdesc="A simple graphical viewer for (inherited) environment variables" arch=("i686" "x86_64") @@ -9,9 +9,19 @@ url="https://github.com/oliver-anhuth/envview" license=("MIT") depends=("qt5-base") makedepends=("qt5-base" "gcc-multilib") -source=("$pkgname-$pkgver.tar.gz::https://github.com/oliver-anhuth/envview/archive/1.0.0.tar.gz") +source=("$pkgname-$pkgver.tar.gz::https://github.com/oliver-anhuth/envview/archive/$pkgver.tar.gz") sha256sums=('SKIP') +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + + # Adjust version in source code + mv main_window.cpp tmp-393d8225-f69f-47e2-b55f-76b57c91373a + sed "s/version = \".....\"/version = \"$pkgver\"/" \ + tmp-393d8225-f69f-47e2-b55f-76b57c91373a >main_window.cpp + rm tmp-393d8225-f69f-47e2-b55f-76b57c91373a +} + build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure |