diff options
author | Simon Doppler | 2018-01-03 19:05:50 +0100 |
---|---|---|
committer | Sebastian 'Swift Geek' Grzywna | 2018-01-03 19:09:20 +0100 |
commit | 3939e43ce9229728946e408a43518faa3674963d (patch) | |
tree | 5a523b991a3a3f3accb8bdc4d5ef7e7859763930 /PKGBUILD | |
parent | c28269269dcd071019044e539a725ef87f552162 (diff) | |
download | aur-3939e43ce9229728946e408a43518faa3674963d.tar.gz |
Update to v0.84.13 and namcap fixes
Fixes in PKGBUILD:
* remove leading v in $pkgver
* $arch cannot be any, there are binary files in the package
* remove useless dependencies
* gtk3 is provided by goocanvas
* libxml2 is provided by gtksourceview3
* intltool is a $makedepends
* use tarball as source, not insecure git protocol
* remove oregano.install from $source array
* quote variables
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1,27 +1,27 @@ # Contributor: Glen Oakley <goakley123@gmail.com> # Maintainer: Swift Geek pkgname=oregano -pkgver=v0.83.2.1 +pkgver=0.84.13 pkgrel=1 pkgdesc="Schematic capture and circuit simulator" -arch=('any') -depends=('goocanvas' 'gtk3' 'gtksourceview3' 'libxml2' 'intltool') -makedepends=('git' 'waf') +arch=('x86_64' 'x86') +depends=('goocanvas' 'gtksourceview3') +makedepends=('git' 'waf' 'intltool') provides=('oregano') install='oregano.install' url="https://github.com/drahnr/oregano" license=("GPL2") -source=("git://github.com/drahnr/oregano.git#tag=${pkgver}" 'oregano.install') -sha512sums=('SKIP' - '1761a2bede604d071e81cc3436042e277871d0f6775fa0e6a70004195338e572f25a1b1cbe44dd252c4b1167bbd4061e51a24a00999fbb65c1c6e087144cc995') +source=("$pkgname-$pkgver.tar.gz::https://github.com/drahnr/$pkgname/archive/v$pkgver.tar.gz") +sha512sums=('4f3050f4035e1b4862835ed3c84f4b14b7505e7e627872117cfb8d2e4ed1ceb8d503f107c893be998caf9368da879ed51789d54b185244f3a41ff9ac20521ca1') build() { - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname-$pkgver" ./waf configure --prefix=/usr ./waf release } package() { - cd "$srcdir/$pkgname" - ./waf install --destdir=$pkgdir + cd "$srcdir/$pkgname-$pkgver" + ./waf install --destdir="$pkgdir" + rm "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled" } |