diff options
author | Jan Cholasta | 2020-02-06 09:28:37 +0100 |
---|---|---|
committer | Jan Cholasta | 2020-02-06 09:32:49 +0100 |
commit | d0dd24619b51718a8af61e33f3d86ba56c17cae6 (patch) | |
tree | ee3c2c530d61c345d804fcdc5c3dd81cf4e7af6b /PKGBUILD | |
parent | 779fc32bcec387d26997adcbcb19541b68a0e25a (diff) | |
download | aur-d0dd24619b51718a8af61e33f3d86ba56c17cae6.tar.gz |
raze-git-0.4.0+9+g67a2952ea-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -27,9 +27,8 @@ optdepends=('gxmessage: crash dialog (GNOME)' 'xorg-xmessage: crash dialog (other)') provides=('raze') conflicts=('raze') -_srcname=Raze _srcver=master -source=("${_srcname}-${_srcver}::git+https://github.com/coelckers/${_srcname}#commit=${_srcver}" +source=("Raze::git+https://github.com/coelckers/Raze#commit=${_srcver}" '0001-Fix-file-paths.patch' 'raze.desktop') sha256sums=('SKIP' @@ -37,19 +36,19 @@ sha256sums=('SKIP' 'ffc02d8f6f0d4464a74e025d41063f2441d9423d4ed605a0290eb266ae9531c8') pkgver() { - cd ${_srcname}-${_srcver} + cd Raze git describe --tags | tr - + } prepare() { - cd ${_srcname}-${_srcver} + cd Raze patch -p1 -i"$srcdir"/0001-Fix-file-paths.patch } build() { - cd ${_srcname}-${_srcver} + cd Raze local _cflags="-ffile-prefix-map=\"$PWD\"=." cmake -DCMAKE_BUILD_TYPE=Release \ @@ -62,7 +61,7 @@ build() { } package() { - cd ${_srcname}-${_srcver} + cd Raze make install DESTDIR="$pkgdir" |