[arch-commits] Commit in smplayer-themes/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:57:52 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:57:52
  Author: felixonmars
Revision: 658300

archrelease: copy trunk to community-staging-any

Added:
  smplayer-themes/repos/community-staging-any/
  smplayer-themes/repos/community-staging-any/PKGBUILD
    (from rev 658299, smplayer-themes/trunk/PKGBUILD)

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

Copied: smplayer-themes/repos/community-staging-any/PKGBUILD (from rev 658299, smplayer-themes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:57:52 UTC (rev 658300)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+
+pkgname=smplayer-themes
+pkgver=18.6.0
+pkgrel=2
+epoch=1
+pkgdesc='Themes for SMPlayer'
+url='https://www.smplayer.info/'
+arch=('any')
+license=('GPL2')
+depends=('smplayer')
+makedepends=('optipng')
+source=(https://downloads.sourceforge.net/smplayer/${pkgname}-${pkgver}.tar.bz2)
+sha512sums=('e16f2dc50015b0034134a096ca99603167309c31bb50a44679c343b5f9c0ea786a17a0fb64eb1d71c61dacbd2a295adc0a82d23bd0837adf96664120f33adda6')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # Fix invalid PNG icons to work with libpng 1.6
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX=/usr
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" PREFIX=/usr install
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list