updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / createudffs / PKGBUILD
blob19b4b9e90fc6145edb9cef2549811e39c4a8caa7
1 pkgname=createudffs
2 pkgver=0.1
3 pkgrel=1
4 pkgdesc="Create UDF Filesystem is a QT4 frontend for mkudffs from the udftools collection."
5 arch=('i686' 'x86_64')
6 url="http://kde-apps.org/content/show.php/Create+UDF+Filesystem?content=79265"
7 license=('GPL2  ')
8 depends=('qt' 'udftools')
9 source=("http://kde-apps.org/CONTENT/content-files/79265-${pkgname}-${pkgver}.tar.bz2"
10         "${pkgname}.desktop")
11 md5sums=('023b05260161067873d31554bd79b4ac'
12          'f0500170c3e66bfca0f9d4ca9397211d')
13 install=${pkgname}.install
15 build() {
16   cd "${srcdir}/${pkgname}-${pkgver}"
17   qmake 
18   make 
21 package() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
23   install -Dm 755 createudffs-0 ${pkgdir}/usr/bin/createudffs
24   for size in 32 48 64; do
25     install -Dm 644 icons/"$size"x"$size"/create_filesystem.png ${pkgdir}/usr/share/icons/hicolor/"$size"x"$size"/create_filesystem.png
26   done
27   install -Dm 644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
28 }