summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ad515c892c499a2385c1f48f4f8616747ad13bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Aleksana QWQ <me@aleksana.moe>

pkgname=polkit-fakesudo
pkgver=0.0.3
pkgrel=1
pkgdesc="A very very stupid fake sudo,using polkit pkexec to grant permissions."
arch=('any')
url='https://github.com/Aleksanaa/polkit-fakesudo'
license=('GPL3')
depends=('bash' 'coreutils' 'gawk' 'findutils' 'polkit')
provides=('sudo')
conflicts=('sudo')
makedepends=('git')
source=("$pkgname::git+$url.git#tag=$pkgver")
md5sums=('SKIP')

package() {
  cd ${pkgname}
  install -Dm755 ./sudo $pkgdir/usr/bin/sudo
  install -Dm755 ./help1 $pkgdir/usr/share/polkit-fakesudo/help1
  install -Dm755 ./help2 $pkgdir/usr/share/polkit-fakesudo/help2
}