diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -4,7 +4,7 @@ _pkgname=lincity-ng pkgname=${_pkgname}-git epoch=1 -pkgver=2.9.0.r144.gd4066f9e +pkgver=2.9.0.r151.g6e92aa57 pkgrel=1 pkgdesc="A city simulation game (development version)" arch=('i686' 'x86_64' 'armv7h' 'aarch64') @@ -14,21 +14,14 @@ conflicts=("${_pkgname}") provides=("${_pkgname}=${pkgver%.r*}") depends=('sdl2_mixer' 'sdl2_image' 'sdl2_ttf' 'sdl2_gfx' 'physfs' 'libxml2' 'libgl') makedepends=('git' 'cmake' 'mesa' 'glu') -source=("${_pkgname}::git+${url}" - "fix_xml_eisdir.patch") #https://github.com/lincity-ng/lincity-ng/pull/102 -sha256sums=('SKIP' - '6f034a0628ebcbeaafdd5e00fe911132eacd4e67ab1792752960e035ce117186') +source=("${_pkgname}::git+${url}") +sha256sums=('SKIP') pkgver() { cd ${_pkgname} git describe --long --tags | sed 's/^lincity-ng-//;s/\([^-]*-g\)/r\1/;s/-/./g' } -prepare () { - cd ${_pkgname} - patch -uNp1 -r- -i ../fix_xml_eisdir.patch -} - build () { cd ${_pkgname} cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release |