blob: ff756f58a6bd529150c06a699f562a3ae7abfb50 (
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
27
28
29
30
31
32
|
# Maintainer: Dominik Fuchs <d.fuchs@mail.com>
pkgname=gtksu-git
pkgver=0.0.r98.9372747
pkgrel=1
pkgdesc='A Qt5-based replacement for gksu'
arch=('any')
url='https://github.com/KeithDHedger/GtkSu'
license=('GPL')
depends=('qt5-base')
makedepends=('git')
conflicts=('')
provides=("")
source=("$pkgname::git+https://github.com/KeithDHedger/GtkSu.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd $pkgname
# git describe can't describe anything without tags
printf "0.0.r%d.%s\n" $(git rev-list HEAD --count) $(git rev-parse --short HEAD)
}
build() {
cd $pkgname
./configure --enable-qt5 --prefix=/usr
make || return 1
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}
|