summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2017-11-11 00:53:31 +0100
committerhaawda2017-11-11 00:53:31 +0100
commit5598119856c196bbe38144255449cbe985fdc813 (patch)
tree32d35decafccbe6f0b31474a97402e7041974169
parent263a245d6c2286a1833041c229f45a33bae497ac (diff)
downloadaur-5598119856c196bbe38144255449cbe985fdc813.tar.gz
rewrite
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD24
-rw-r--r--tikzit.install13
3 files changed, 16 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95abed20bebb..22dc5eae0d23 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
+# Generated by mksrcinfo v8
+# Fri Nov 10 23:52:46 UTC 2017
pkgbase = tikzit
pkgdesc = Allows the creation and modification of TeX diagrams written using the pgf/TikZ macro library
pkgver = 1.1
- pkgrel = 3
- url = http://tikzit.github.io
- install = tikzit.install
+ pkgrel = 4
+ url = https://github.com/tikzit/tikzit.git
arch = i686
arch = x86_64
license = GPL2
@@ -17,8 +18,8 @@ pkgbase = tikzit
depends = poppler-glib>=0.10
depends = desktop-file-utils
optdepends = texlive-core: previews
- source = https://github.com/tikzit/tikzit/archive/v1.1.tar.gz
- md5sums = ca71f1f862136f10965323400be4f34f
+ source = tikzit-1.1.zip::https://github.com/tikzit/tikzit/archive/master.zip
+ sha256sums = b0756500fae0029df41cbd6105c48c90a1f60231a9cb5558d73cd319464669ab
pkgname = tikzit
diff --git a/PKGBUILD b/PKGBUILD
index ae1c1bb96796..f554fb294b89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,28 @@
-# Maintainer: Alex Merry <dev@randomguy3.me.uk>
+# Contributor: Alex Merry <dev@randomguy3.me.uk>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=tikzit
pkgver=1.1
-pkgrel=3
+pkgrel=4
pkgdesc="Allows the creation and modification of TeX diagrams written using the pgf/TikZ macro library"
arch=('i686' 'x86_64')
-url="http://tikzit.github.io"
+url="https://github.com/tikzit/tikzit.git"
license=('GPL2')
depends=('gnustep-base>=1.18.0' 'gtk2>=2.18.0'
'poppler-glib>=0.10' 'desktop-file-utils')
makedepends=('gcc-objc>=4.6.0' 'automake' 'autoconf' 'flex' 'bison')
optdepends=('texlive-core: previews')
-install="tikzit.install"
-source=(https://github.com/$pkgname/$pkgname/archive/v${pkgver}.tar.gz)
-md5sums=('ca71f1f862136f10965323400be4f34f')
+source=(tikzit-$pkgver.zip::https://github.com/$pkgname/$pkgname/archive/master.zip)
+sha256sums=('b0756500fae0029df41cbd6105c48c90a1f60231a9cb5558d73cd319464669ab')
build() {
- source /etc/profile.d/GNUstep.sh
- cd "$srcdir/$pkgname-$pkgver/tikzit"
+ cd $pkgname-master/tikzit
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make -j1 || return 1
+ make -j1
}
package() {
- source /etc/profile.d/GNUstep.sh
- cd "$srcdir/$pkgname-$pkgver/tikzit"
- make -j1 "DESTDIR=$pkgdir" install || return 1
+ cd $pkgname-master/tikzit
+ make -j1 "DESTDIR=$pkgdir" install
}
-
-# vim: set ts=2 sw=2 et:
diff --git a/tikzit.install b/tikzit.install
deleted file mode 100644
index 2393d439188a..000000000000
--- a/tikzit.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-mime-database usr/share/mime
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}