diff options
author | kyli0x | 2020-09-10 16:29:14 -0400 |
---|---|---|
committer | kyli0x | 2020-09-10 16:29:14 -0400 |
commit | 167306a796c1784f02d73dea1d60dac83199ac75 (patch) | |
tree | 2632458f0239306b6230a4c9edb9bd894dc6efc3 /PKGBUILD | |
parent | 5a474a39fce422a1b5bdbcd1841f1c19f1b92add (diff) | |
download | aur-167306a796c1784f02d73dea1d60dac83199ac75.tar.gz |
fixed pkgver, build, and depends
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,14 +1,14 @@ # Maintainer: Your Name <kyli0x@protonmail.ch> pkgname=kurcoder-git -pkgver=0.0.1 +pkgver=0.0.1.r33.g37067db pkgrel=1 pkgdesc="Toolkit for encoding, decoding, checksums, hex conversions & IP calculations" arch=('any') url="https://github.com/0xkurome/kurcoder" license=('MIT') -depends=('python3' 'python-pip') -makedepends=('git' 'python-setuptools') +depends=('python') +makedepends=('python-setuptools') conflicts=(kurcoder) source=("git+$url") md5sums=('SKIP') @@ -17,11 +17,12 @@ md5sums=('SKIP') pkgver() { cd "kurcoder" local ver="$(svnversion)" - printf "r%s" "${ver//[[:alpha:]]}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build(){ - python3 -m pip install ipcalc + cd "kurcoder" + python setup.py build } package() { |