summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Traverse2016-11-23 01:46:53 +0100
committerBastien Traverse2016-11-23 01:47:14 +0100
commit6e065a1b620a507c343e46738637b077626c4bf9 (patch)
treef6884376b7be150494fa6366c3e78f0ae33a2339
parent2b031bf5bfa276dcd7cb3768bdd8d1f9a429717f (diff)
downloadaur-6e065a1b620a507c343e46738637b077626c4bf9.tar.gz
Add provides=() and conflicts=() arrays and parametrize source array even more
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2089bfcec66b..1181804d8c90 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
# Generated by mksrcinfo v8
-# Wed Nov 23 00:26:26 UTC 2016
+# Wed Nov 23 00:47:10 UTC 2016
pkgbase = primitive
pkgdesc = Reproducing images with geometric primitives
pkgver = r144.37639cc
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/fogleman/primitive
arch = i686
arch = x86_64
license = MIT
makedepends = go
makedepends = git
- options = !strip
- options = !emptydirs
+ provides = primitive
+ conflicts = primitive
source = primitive::git+https://github.com/fogleman/primitive.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index d4addcba0f0c..acc3ed4d06d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,16 @@
pkgname=primitive
pkgver=r144.37639cc
-pkgrel=2
+pkgrel=3
pkgdesc='Reproducing images with geometric primitives'
arch=('i686' 'x86_64')
-url="https://github.com/fogleman/$pkgname"
+url="https://github.com/fogleman/primitive"
license=('MIT')
makedepends=('go' 'git')
-source=("$pkgname::git+https://github.com/fogleman/$pkgname.git")
+provides=("$pkgname")
+conflicts=("$pkgname")
+source=("$pkgname::git+$url.git")
md5sums=('SKIP')
-options=('!strip' '!emptydirs')
pkgver() {
cd "$pkgname"