31 lines
884 B
Bash
31 lines
884 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=smplayer-themes
|
|
pkgver=20.11.0
|
|
pkgrel=1
|
|
pkgdesc="Themes for SMPlayer"
|
|
url='https://www.smplayer.info/'
|
|
arch=('any')
|
|
license=('GPL-2' 'LGPL-3' 'CC-BY-2.5' 'CC-BY-SA-2.5' 'CC-BY-SA-3.0')
|
|
depends=('smplayer-legacy')
|
|
makedepends=('optipng')
|
|
source=(https://downloads.sourceforge.net/smplayer/${pkgname}-${pkgver}.tar.bz2)
|
|
sha512sums=('4e64c3f44fc3529d980751618cd30fcc395a21701ba7481ad0a6dffc1fa770c13a3414d0853f94cd6163738702a0a75060a92e5c1c426e79902a68d8f8336575')
|
|
|
|
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
|
|
install -Dm644 COPYING*.txt -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|