diff --git a/community/agave/PKGBUILD b/community/agave/PKGBUILD index c6e39afdb..ed4a8fce1 100644 --- a/community/agave/PKGBUILD +++ b/community/agave/PKGBUILD @@ -9,42 +9,42 @@ pkgname=agave pkgver=0.4.7 -pkgrel=8 +pkgrel=9 pkgdesc="Colorscheme designer tool for GNOME" -arch=('i686' 'x86_64') -url="http://home.gna.org/colorscheme/" +arch=('x86_64') +url="https://web.archive.org/web/20170327063642/http://home.gna.org/colorscheme/" license=('GPL') depends=('libglademm' 'gconfmm') -makedepends=('gnome-doc-utils' 'intltool' 'boost' 'cppunit') -source=("http://download.gna.org/colorscheme/releases/$pkgname-$pkgver.tar.bz2" +makedepends=('gnome-doc-utils' 'intltool' 'boost') +source=(http://ftp.debian.org/debian/pool/main/a/$pkgname/${pkgname}_$pkgver.orig.tar.gz agave-0.4.7-mdv-fix-str-fmt.patch schemebox.patch drop-libgnome.patch compat-round.patch) -md5sums=('93097881f28dcae1eca2800a763f77c3' - 'd96ddfe751d8fd4d13a443b94fafb0b6' - 'c41adfd52ecbf837f4338e67693640fc' - '7419d23329f847dcde12baa467b52135' - '27637dbf3351a9e9fa77b50e775d2212') +sha256sums=('4005361ab1b137029c7d50afbbfbae7d83bdde7cec3e155a85eed59f6ec4e6fc' + '132008f0bbe040c59bbc134d9ca3eb244967a66f95bf113d94e976b8ed776c6c' + '0471ac9d7057f83d3fc667d7387837a2d85cb0d15a58853dd673a6ea1459623c' + '8651250047b5882b00d28ac6d7ff587f53f99bd681c201545b6cf25c5acaaac6' + '1cade4acc25b4da1999d6eb148e2f48ac3d6633fe4e695a6a1fc217d7c477a78') prepare() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver # Build fix from Fedora - patch -Np1 -i "$srcdir/agave-0.4.7-mdv-fix-str-fmt.patch" + patch -Np1 -i ../agave-0.4.7-mdv-fix-str-fmt.patch # Another build fix - patch -Np1 -i "$srcdir/schemebox.patch" + patch -Np1 -i ../schemebox.patch # Remove deprecated libgnome dependency - patch -Np1 -i "$srcdir/drop-libgnome.patch" + patch -Np1 -i ../drop-libgnome.patch # Build fix from Debian - patch -Np1 -i "$srcdir/compat-round.patch" + patch -Np1 -i ../compat-round.patch } build() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver CXXFLAGS+=' -std=c++11' ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-scrollkeeper --disable-gnome --disable-schemas-install \ @@ -52,12 +52,7 @@ build() { make } -check() { - cd "$srcdir/$pkgname-$pkgver" - make check -} - package() { - cd "$srcdir/$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }