diff options
author | theguy | 2021-03-25 17:00:23 +0100 |
---|---|---|
committer | theguy | 2021-03-25 17:00:23 +0100 |
commit | 10f2a6d8a9fc7b23772e6dc544ad4a5f31c012f8 (patch) | |
tree | de2c5daf7b3e8ddd0f0ccaf3985ac1d9a04ffd1f /PKGBUILD | |
download | aur-ignorant-git.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1a1b34179fc1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: theguy147 <yakamoz147 (at) protonmail (dot) com> + +pkgname=ignorant-git +pkgver=r3.60ea009 +pkgrel=1 +pkgdesc="ignorant checks if a phone number is used on a list of platforms. (git version)" +url="https://github.com/megadose/ignorant" +depends=('python') +makedepends=('python-setuptools') +license=('GPL3') +conflicts=('ignorant') +arch=('any') +source=("${pkgname}::git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${pkgname}" + python setup.py build +} + +package() { + cd "${pkgname}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |