Created
May 18, 2015 19:50
-
-
Save pmattern/3a6086cc21fd32e4d8ce to your computer and use it in GitHub Desktop.
alfredobonino/qsudo: PKGBUILD (meant to ease testing on Arch Linux)
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: <@> | |
_pkgname=qsudo | |
pkgname=$_pkgname-git | |
pkgver=0.1.g43e1e44 | |
pkgrel=1 | |
pkgdesc="A lightweight graphical sudo written in Qt - VCS version" | |
arch=("i686" "x86_64") | |
url="https://github.com/alfredobonino/qsudo" | |
license=("GPL3") | |
depends=('qt5-base') | |
provides=("$_pkgname") | |
conflicts=("$_pkgname") | |
source=("git+https://github.com/alfredobonino/qsudo.git") | |
sha256sums=("SKIP") | |
pkgver() { | |
cd "$srcdir/$_pkgname" | |
echo 0.1.g$(git describe --always) | |
} | |
build() { | |
cd $_pkgname | |
qmake | |
make | |
} | |
package() { | |
cd $_pkgname | |
make INSTALL_ROOT="$pkgdir" install | |
} |
You should add git as requires so don't need to install it manually if have not build alreade pkgbuild what use it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you :)