Skip to content

Instantly share code, notes, and snippets.

@bbidulock
Created May 23, 2014 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbidulock/e5e26dd8e53aed8fc37b to your computer and use it in GitHub Desktop.
Save bbidulock/e5e26dd8e53aed8fc37b to your computer and use it in GitHub Desktop.
# Maintainer: 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=1
pkgdesc="Run a program as root with a graphical interface"
arch=('any')
url="https://github.com/tarakbumba/xdg-su"
license=('MIT')
depends=('sh')
makedepends=('links' 'xmlto' 'docbook-xsl')
source=("https://github.com/tarakbumba/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
md5sums=('5fc487e357d5858c321afc99892df07c')
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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment