desktop/smplayer-themes/PKGBUILD
2016-06-02 17:22:16 +02:00

33 lines
881 B
Bash

pkgname=smplayer-themes
pkgver=16.6.0
pkgrel=1
pkgdesc="Themes for smplayer"
arch=('any')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('smplayer')
makedepends=('optipng' 'qt')
source=(http://downloads.sourceforge.net/smplayer/$pkgname-$pkgver.tar.bz2)
sha256sums=('a5ec99809bf1cfdf872d569a66f97fc9c06ce00cba0aec7c7d46de3b2591edbc')
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
}
package() {
cd ${pkgname}-${pkgver}
make PREFIX="${pkgdir}/usr" install
install -dpm755 ${pkgdir}/usr/share/licenses/${pkgname}
install -Dpm644 COPYING* ${pkgdir}/usr/share/licenses/${pkgname}/
install -dpm755 ${pkgdir}/usr/share/doc/${pkgname}
install -Dpm644 Changelog README.txt ${pkgdir}/usr/share/doc/${pkgname}/
}