[arch-commits] Commit in scummvm-tools/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:58:04 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:58:04
  Author: felixonmars
Revision: 659052

archrelease: copy trunk to community-staging-x86_64

Added:
  scummvm-tools/repos/community-staging-x86_64/
  scummvm-tools/repos/community-staging-x86_64/PKGBUILD
    (from rev 659051, scummvm-tools/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: scummvm-tools/repos/community-staging-x86_64/PKGBUILD (from rev 659051, scummvm-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:58:04 UTC (rev 659052)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Jérémie Dimino <jeremie at dimino.org>
+# Contributor: Sebastian Hase <sebastian_hase at gmx.de>
+# Contributor: Joe Davison <joe at thosedamnpeanuts.com>
+pkgname=scummvm-tools
+pkgver=2.1.0
+pkgrel=2
+pkgdesc="A set of tools that enable you to convert, compress and decode game datafiles for ScummVM"
+url="http://www.scummvm.org/"
+license=('GPL')
+depends=('libpng' 'wxgtk3' 'flac' 'libvorbis')
+arch=('x86_64')
+source=("https://www.scummvm.org/frs/scummvm-tools/${pkgver}/scummvm-tools-${pkgver}.tar.xz")
+sha512sums=('40e0b1a545257922dd1846d520ef0c18ef7a2682a3d7bb1709bcd49b1338ed7cefea438958941586329271d84e01bf189a14e31f5758e500df607d162ee9cc15')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # Build with wxgtk3
+  sed -i 's/^_wxconfig=wx-config$/_wxconfig=wx-config-gtk3/' configure
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+
+  make DESTDIR=${pkgdir} install
+
+  install -Dm 644 README ${pkgdir}/usr/share/doc/scummvm-tools/README
+  install -Dm 644 convert_dxa.sh ${pkgdir}/usr/share/doc/scummvm-tools/samples/convert_dxa.sh
+}
+#vim: sw=2 ts=2 et:


More information about the arch-commits mailing list