diff options
author | thegala | 2020-10-03 14:04:26 +0200 |
---|---|---|
committer | thegala | 2020-10-03 14:04:26 +0200 |
commit | 47670abc5c508e51ff9a8d9e7fbe0a7f0c713e37 (patch) | |
tree | 6db2635390b1fa00206db4c81dd14a327e88e136 | |
download | aur-47670abc5c508e51ff9a8d9e7fbe0a7f0c713e37.tar.gz |
Init commit.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5496283ab262 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = kibom-git + pkgdesc = KiCad automation scripts. + pkgver = 572.51244bb + pkgrel = 1 + url = https://github.com/INTI-CMNB/kibom + arch = i686 + arch = x86_64 + license = Apache2.0 + makedepends = git + makedepends = python + depends = python + provides = kibom + conflicts = kibom + source = kibom::git+https://github.com/INTI-CMNB/KiBom + md5sums = SKIP + +pkgname = kibom-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4711450263f2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: thegala <thegala at disroot.org> + +_pkgname=kibom +pkgname=kibom-git +pkgver=572.51244bb +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc="KiCad automation scripts." +url="https://github.com/INTI-CMNB/kibom" +license=('Apache2.0') +depends=('python') +makedepends=('git' 'python') +source=("${_pkgname}::git+https://github.com/INTI-CMNB/KiBom") +md5sums=('SKIP') +provides=('kibom') +conflicts=('kibom') + +pkgver() +{ + cd "$_pkgname" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + + +package() { + cd $_pkgname + python setup.py install --root="$pkgdir" +} |