Warning, /graphics/glaxnimate/deploy/PKGBUILD is written in an unsupported language. File is not indexed.
0001 # Maintainer: Sythelux Rikd <dersyth@gmail.com> 0002 # Maintainer: Mattia Basaglia <glax@dragon.best> 0003 _corpname=glaxnimate 0004 _pkgname='glaxnimate' 0005 pkgname="$_pkgname" 0006 _git_branch="release" 0007 pkgver=0.5.0 0008 pkgrel=1 0009 pkgdesc="Simple vector animation program." 0010 url="https://glaxnimate.mattbas.org/" 0011 license=('GPL3') 0012 arch=('x86_64' 'i686' 'armv7h' 'aarch64' 'riscv32' 'riscv64') 0013 makedepends=('git' 'cmake' 'make' 'gcc' 'qt6-declarative') 0014 depends=('python' 'zlib' 'hicolor-icon-theme' 'potrace' 'ffmpeg' 'libarchive' 'qt6-tools' 'qt6-base' 'qt6-imageformats' 'qt6-svg') 0015 provides=("$_pkgname") 0016 conflicts=("$_pkgname") 0017 source=( 0018 "$_pkgname::git+https://gitlab.com/mattbas/$_pkgname/#branch=$_git_branch" 0019 ) 0020 sha256sums=('SKIP') 0021 0022 prepare() { 0023 cd "$_pkgname/" 0024 0025 # Provide git submodules 0026 git submodule init 0027 git submodule update --init --recursive 0028 } 0029 0030 pkgver() { 0031 cd "$srcdir/$_pkgname/" 0032 git describe --tags | tr - _ 0033 } 0034 0035 build() { 0036 cd "$srcdir/$_pkgname/" 0037 mkdir -p build 0038 cd build 0039 cmake ".." -DCMAKE_INSTALL_PREFIX=/usr 0040 # For more build jobs: 0041 # echo 'MAKEFLAGS="-j4"' >>/etc/makepkg.conf 0042 # (or ~/.makepkg.conf) 0043 make 0044 make translations VERBOSE=1 0045 } 0046 0047 package() { 0048 cd "$srcdir/$_pkgname/build" 0049 make install DESTDIR=$pkgdir >/dev/null 0050 } 0051