This repository has been archived by the owner on Sep 30, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
# Maintainer: Philip Müller <philm[at]manjaro[dot]org> | ||
# 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> | ||
|
||
#Contributor: Atilla ÖNTAŞ <tarakbumba@gmail.com> | ||
#Contributor: Mitchell Nemitz <mitchell.nemitz@gmail.com> | ||
#Contributor: sebcactus <sebcactus@gmail.com> | ||
pkgname=xdg-su | ||
pkgver=1.2.1 | ||
pkgver=1.2.3 | ||
pkgrel=1 | ||
pkgdesc="Run a program as root with a graphical interface" | ||
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') | ||
makedepends=( 'links' 'xmlto' 'docbook-xsl') | ||
source=( "https://github.com/downloads/tarakbumba/$pkgname/$pkgname-$pkgver.tar.xz" ) | ||
md5sums=('6b53e031b120eedc3eef1fb326a45d56') | ||
|
||
license=('MIT') | ||
depends=('sh') | ||
makedepends=('links' 'xmlto' 'docbook-xsl') | ||
source=("https://github.com/tarakbumba/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz") | ||
sha1sums=('e92fd399b39f7b38d7bbfc7b834c78e551b2eee5') | ||
|
||
build() { | ||
cd "${srcdir}/${pkgname}" | ||
./configure --prefix=/usr | ||
make | ||
cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" | ||
./configure --prefix=/usr --mandir=/usr/share/man | ||
make | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/${pkgname}" | ||
make DESTDIR="${pkgdir}" install | ||
cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" | ||
make DESTDIR="${pkgdir}" install | ||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | ||
} |