-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathPKGBUILD
More file actions
26 lines (24 loc) · 842 Bytes
/
PKGBUILD
File metadata and controls
26 lines (24 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer : vmavromatis <bill.mavromatis@protonmail.com>
# Contributors : https://github.com/vmavromatis/absolutely-proprietary/graphs/contributors
_pkgname=absolutely-proprietary
pkgname=${_pkgname}-git
pkgver=r54.93d1c3e
pkgrel=1
pkgdesc="Proprietary package detector for arch-based distros."
arch=('any')
url="https://github.com/vmavromatis/${_pkgname}"
license=('GPL3')
depends=('python'
'python-setuptools')
source=("git+https://github.com/vmavromatis/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${_gitname}"
python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
install -Dm644 "$srcdir/${_gitname}/LICENSE.md" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}