summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mobloquer/PKGBUILD
blob: eecdb4a64ca3f32e81efdc47d62cea6f6a8179bc (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: marinz <marinz@email.it>

pkgname=mobloquer
pkgver=0.5
pkgrel=5
pkgdesc="A graphical front end for moblock"
arch=('i686' 'x86_64')
url="http://mobloquer.foutrelis.com/"
license=('GPL')
depends=('qt' 'moblockcontrol')
source=(http://download.sourceforge.net/mobloquer/$pkgname-$pkgver.tar.gz)
md5sums=('2adb03d170fa0e9a7ffcc9dac8d71bf5')

build() {
 
  cd $startdir/src/$pkgname
  
  qmake
  make || return 1
  
  install -d ${pkgdir}/usr/share/applications ${pkgdir}/usr/bin
  install -m 755 -p $startdir/src/mobloquer/images/mobloquer.png $startdir/pkg/usr/share/pixmaps/
  install -m 644 -p $startdir/src/mobloquer/other/Mobloquer.desktop $startdir/pkg/usr/share/applications/
  install -m 755 -p $startdir/src/mobloquer/mobloquer $startdir/pkg/usr/bin/mobloquer
}