summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 00c7ce173eb3737c0bb63c9d6b8636306aabc7d0 (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
# Maintainer : Rob McCathie aka korrode <archaur at rmcc dot com dot au>
# Contributor: Atilla ÖNTAŞ <tarakbumba@gmail.com>
# Contributor: Mitchell Nemitz <mitchell.nemitz@gmail.com>
# Contributor: sebcactus <sebcactus@gmail.com>

pkgname=xdg-su
pkgver=1.2.3
pkgrel=2
pkgdesc="Run a program as root with the most environment appropriate available graphical authentication agent"
arch=('any')
url="https://github.com/tarakbumba/xdg-su"
license=('MIT')
depends=('sh')
makedepends=('lynx' 'xmlto' 'docbook-xsl')
source=("https://github.com/tarakbumba/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
sha1sums=('e92fd399b39f7b38d7bbfc7b834c78e551b2eee5')
 
build() {
  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}
 
package() {
  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}