summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mobloquer/PKGBUILD
blob: b6254d566181a604a83824bd4e968c48b9ae0d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Daniele Marinello <marinz att email dot it>

pkgname=mobloquer
pkgver=0.6
pkgrel=6
pkgdesc="A graphical front end for moblock"
arch=('i686' 'x86_64')
url="http://mobloquer.foutrelis.com/"
license=('GPL')
depends=('qt' 'blockcontrol')
source=(http://downloads.sourceforge.net/mobloquer/$pkgname-$pkgver.tar.gz)
md5sums=('6363ee4c42da1d85367fdd65d4bf42ca')

build() {
 
  cd $startdir/src/$pkgname-$pkgver
  
  qmake
  make || return 1

  install -d ${pkgdir}/usr/share/applications ${pkgdir}/usr/bin ${pkgdir}/usr/share/pixmaps
  install -m 644 -p $startdir/src/$pkgname-$pkgver/images/mobloquer.png $startdir/pkg/usr/share/pixmaps/
  install -m 644 -p $startdir/src/$pkgname-$pkgver/other/Mobloquer.desktop $startdir/pkg/usr/share/applications/
  install -m 755 -p $startdir/src/$pkgname-$pkgver/mobloquer $startdir/pkg/usr/bin/mobloquer
}