summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Bermond2020-09-30 19:16:49 +0000
committerDaniel Bermond2020-09-30 19:16:49 +0000
commit14148791420709dc3175f9564ec494882777e65d (patch)
tree519bc8a1887de594c6368aac98fd6ec7298303d9 /PKGBUILD
parent49f3305f3e8292fd3deafa6fbcc05e4707167ecb (diff)
downloadaur-ardesia.tar.gz
Fix build with gcc10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 20 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a54ce6c6fc3..39a278aea90 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,30 @@
-# Maintainer: Moritz Patelscheck <moritz(at)patelscheck.de>
+# Maintainer : Daniel Bermond <dbermond@archlinux.org>
+# Contributor: Moritz Patelscheck <moritz(at)patelscheck.de>
pkgname=ardesia
pkgver=1.1
-pkgrel=1
-pkgdesc="Free digital sketchpad to draw on the X11 session"
-arch=('i686' 'x86_64')
-url="https://code.google.com/p/ardesia/"
-install="ardesia.install"
-depends=('gtk3' 'gsl' 'libgsf' 'desktop-file-utils')
-makedepends=('gcc' 'make' 'automake' 'autoconf' 'intltool' 'libtool' 'gtk3' 'atk' 'libx11' 'libpng' 'glib2' 'gconf' 'fontconfig' 'freetype2' 'gsl' 'libxml2' 'xdg-utils' 'libgsf')
+pkgrel=2
+pkgdesc='Tool for drawing on the screen of a X11 session'
+arch=('x86_64')
+url='https://code.google.com/archive/p/ardesia/'
+depends=('gtk3' 'cairo' 'gdk-pixbuf2' 'glib2' 'gsl' 'libgsf' 'libxml2')
+makedepends=('intltool' 'xdg-utils')
license=('GPL3')
-source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ardesia/ardesia-1.1.tar.gz")
-md5sums=('b0abe145ce4ade50ab897ec658d2d664')
-sha1sums=('2c0603cefe7bb33909787d030df5cd60cfee009f')
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ardesia/${pkgname}-${pkgver}.tar.gz"
+ '010-ardesia-gcc10-fix.patch')
+sha256sums=('b65e0153f5239c270bb1734d1cd257738339ba163081509ee42499da8dd6ee18'
+ '212984a4d9c8654f2e111125e6034bbf06f0d687f110f3b5451789119af34fc9')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./autogen.sh
- #./configure
+prepare() {
+ patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-ardesia-gcc10-fix.patch"
+}
- make
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
}