updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / romwiz / PKGBUILD
blob8896b77aa4a39b424b290781d99a21822613b217
2 # Maintainer: Your Name <youremail@domain.com>
3 pkgname=romwiz
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="RomWiz is a MAME ROM manager for Linux"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/romwiz/"
9 license=('GPL')
10 depends=('qt' 'sqlite3' 'libzip')
11 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz")
12 md5sums=('940ed5caae6689599a9f6a0b81e61b9c')
14 build() {
15   cd "$srcdir/$pkgname"
16   qmake
17   make
19   # Install icon
20   mkdir -p $pkgdir/usr/share/pixmaps/
21   install -m 644 images/romwiz.png $pkgdir/usr/share/pixmaps/
23   # Install desktop file
24   mkdir -p $pkgdir/usr/share/applications/
25   install -m 644 applications/romwiz.desktop $pkgdir/usr/share/applications/
27   # Install binary
28   mkdir -p $pkgdir/usr/bin/
29   install -m 755 bin/romwiz $pkgdir/usr/bin/