blob: 1a1b34179fc1bc4bd8cd372e9e150ec0d4e081c7 (
plain)
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
27
28
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
}
|