updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / fet / PKGBUILD
blobd4c5d9d0d6bcec28615741ba0563bdb5b5f9c3ba
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=fet
4 pkgver=5.16.0
5 pkgrel=1
6 pkgdesc="Free Timetabling Software automatically schedule the timetable of a school, high-school or university."
7 arch=(i686 x86_64)
8 url="http://lalescu.ro/liviu/fet/"
9 license=('GPL')
10 depends=('qt')
11 install="$pkgname.install"
12 source=("${url}download/$pkgname-$pkgver.tar.bz2"
13         "$pkgname.desktop")
14 md5sums=('3db1c0b365cc4878388c24e794dcc96b'
15          '8d951b500de581eb660472aa56ba6ba3')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   qmake
21   make
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
27   # prepare dest dirs
28   install -d "$pkgdir"/usr/{bin,share/{doc/,}$pkgname}
30   # bin
31   install -Dm755 $pkgname "$pkgdir/usr/bin"
33   # translations
34   install -d "$pkgdir/usr/share/$pkgname/translations"
35   install -Dm644 translations/*.qm "$pkgdir/usr/share/$pkgname/translations"
37   # examples
38   cp -a examples "$pkgdir/usr/share/$pkgname"
40   # man
41   install -Dm644 doc/$pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
43   # docs
44   cp -a doc/[^f]* "$pkgdir/usr/share/doc/$pkgname"
46   # desktop
47   install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
50 # vim:set ts=2 sw=2 et: