Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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