-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
34 lines (26 loc) · 863 Bytes
/
PKGBUILD
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
27
28
29
30
31
32
33
# Maintainer: Jakob Gruber (jakob dot gruber at kabelnet dot at)
_pkgname="qt4wvdialer"
pkgname="$_pkgname-git"
pkgver=0.4.4
pkgdesc="A simple graphical frontend to wvdial, ported to Qt4."
pkgrel=1
arch=('i686' 'x86_64')
url="http://github.com/schuay/$_pkgname"
license=('GPL')
depends=('qt' 'wvdial')
makedepends=('git')
source=($_pkgname.desktop)
md5sums=('59ed85ea8bbff7aaa382000472519287')
build() {
#clean source directory
rm -rf $srcdir/*
#git checkout
cd $srcdir
git clone git://github.com/schuay/$_pkgname.git
cd $srcdir/$_pkgname
QTDIR=/usr/share/qt ./configure --prefix=/usr
make || return 1
install -D -m755 bin/qtwvdialer $pkgdir/usr/bin/qtwvdialer
install -D -m644 src/qtwvdialer.png $pkgdir/usr/share/icons/hicolor/32x32/
install -D -m644 $startdir/$_pkgname.desktop $pkgdir/usr/share/applications/$_pkgname.desktop
}