desktop/smplayer-themes/PKGBUILD
2015-05-11 23:55:21 +00:00

33 lines
842 B
Bash

pkgname=smplayer-themes
pkgver=14.12.0
pkgrel=1
pkgdesc="Themes for smplayer"
arch=('any')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('smplayer')
makedepends=('optipng')
source=(http://downloads.sourceforge.net/smplayer/$pkgname-$pkgver.tar.bz2)
md5sums=('e5ec0a956c59552d40bd44d155ffcdd2')
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}/
}