summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0269f0c0566716d6a2e8711d7d24d906dfdaff37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: e792a8 <1571224208@qq.com>

pkgname=sudo_confirm
pkgver=0.2.1
pkgrel=1
pkgdesc='A sudo plugin providing a final chance for confirmation before actually executing a command'
arch=(x86_64 i686 pentium4 arm armv7h armv6h aarch64)
url='https://github.com/e792a8/sudo_confirm'
license=(MIT)
depends=('sudo>=1.8.0')
source=("$pkgname-$pkgver.tar.gz::https://github.com/e792a8/sudo_confirm/archive/v$pkgver.tar.gz")
sha256sums=('8c0eba60b5012dcb66ec4c52cbf5896b6d8004f9112ceb2977dfb7c4162a112b')
install='sudo_confirm.install'

build() {
	cd "$pkgname-$pkgver"
	make
}

package() {
	cd "$pkgname-$pkgver"
	install -Dm644 sudo_confirm.so "$pkgdir/usr/lib/sudo/sudo_confirm.so"
}