Created
May 23, 2014 16:44
-
-
Save bbidulock/e5e26dd8e53aed8fc37b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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