Commit 155a45b9 authored by sm's avatar sm

Simplify PKGBUILD

parent b064eaaa
# Maintainer: @STMMI_PACKAGER_FULLNAME@ <@STMMI_PACKAGER_EMAIL@>
pkgname=stmm-games
_name=stmm-games
_commit=@STMMI_COMMIT_ID@
pkgver=@STMMI_DEBIAN_SRC_VERSION@
pkgrel=@STMMI_DEBIAN_REVISION@
pkgdesc="C++ 2D games library"
url='https://www.efanomars.com/libraries/${_name}'
url='https://www.efanomars.com/libraries/stmm-games'
arch=('x86_64')
license=('GPL3')
......@@ -14,21 +12,21 @@ depends=('stmm-input' 'gtkmm' 'librsvg' 'libxml++2.6')
makedepends=('cmake' 'gcc' 'doxygen' 'graphviz' 'python')
optdepends=()
#provides=("${_name}")
#replaces=("${_name}")
#conflicts=("${_name}")
#provides=("stmm-games")
#replaces=("stmm-games")
#conflicts=("stmm-games")
source=('git+https://gitlab.com/efanomars/${_name}.git#commit=${_commit}')
source=('git+https://gitlab.com/efanomars/stmm-games.git#commit=@STMMI_COMMIT_ID@')
sha512sums=('SKIP')
build() {
cd "${srcdir}/${_name}"
cd "${srcdir}/stmm-games"
./scripts/install_${_name}-all.py -b=Release -s=Off -t=Off -d=Off --installdir="/usr" --no-install --no-sudo
./scripts/install_stmm-games-all.py -b=Release -s=Off -t=Off -d=Off --installdir="/usr" --no-install --no-sudo
}
package() {
cd "${srcdir}/${_name}"
cd "${srcdir}/stmm-games"
./scripts/priv/dd_install_${_name}-all.py -b=Release -s=Off -t=Off -d=Off --installdir="/usr" --destdir="${pkgdir}" --no-configure --no-make --no-sudo
./scripts/priv/dd_install_stmm-games-all.py -b=Release -s=Off -t=Off -d=Off --installdir="/usr" --destdir="${pkgdir}" --no-configure --no-make --no-sudo
}
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