Skip to content

Instantly share code, notes, and snippets.

@pmattern
Created May 18, 2015 19:50
Show Gist options
  • Save pmattern/3a6086cc21fd32e4d8ce to your computer and use it in GitHub Desktop.
Save pmattern/3a6086cc21fd32e4d8ce to your computer and use it in GitHub Desktop.
alfredobonino/qsudo: PKGBUILD (meant to ease testing on Arch Linux)
# 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
}
@alfredobonino
Copy link

Thank you :)

@ozky
Copy link

ozky commented Aug 29, 2015

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