Date: Tuesday, June 16, 2020 @ 23:33:52 Author: bgyorgy Revision: 646274
archrelease: copy trunk to community-x86_64 Added: synfigstudio/repos/ synfigstudio/repos/community-x86_64/ synfigstudio/repos/community-x86_64/PKGBUILD (from rev 646272, synfigstudio/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: synfigstudio/repos/community-x86_64/PKGBUILD (from rev 646272, synfigstudio/trunk/PKGBUILD) =================================================================== --- repos/community-x86_64/PKGBUILD (rev 0) +++ repos/community-x86_64/PKGBUILD 2020-06-16 23:33:52 UTC (rev 646274) @@ -0,0 +1,33 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Franco Iacomella <y...@gnu.org> + +pkgname=synfigstudio +pkgver=1.2.2 +pkgrel=2 +pkgdesc="Professional vector animation program (GUI)" +arch=(x86_64) +url="https://www.synfig.org/" +license=(GPL2) +depends=(gtkmm3 synfig) +makedepends=(etl intltool) +optdepends=('python: for the plugins') +source=(https://downloads.sourceforge.net/synfig/$pkgname-$pkgver.tar.gz) +sha256sums=('76fa37998af634cf694f9b5bdfcb90220bc88f8527df117d9282a39fe01489e2') + +prepare() { + cd $pkgname-$pkgver + sed -i 's|appdatadir = $(datadir)/appdata|appdatadir = $(datadir)/metainfo|' Makefile.{am,in} +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --disable-update-mimedb + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +}