From 98c50b0bb4385b3acf748fd06c8a2d48ba424dde Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 1 Feb 2016 00:20:02 +0100 Subject: [PATCH] New release Refactored PKGBUILD Added .install file Added doc support Removed static libraries --- .AURINFO | 20 ------------------- .SRCINFO | 10 +++++++--- PKGBUILD | 51 ++++++++++++++++++------------------------------ florence.install | 16 +++++++++++++++ 4 files changed, 42 insertions(+), 55 deletions(-) delete mode 100644 .AURINFO create mode 100644 florence.install diff --git a/.AURINFO b/.AURINFO deleted file mode 100644 index 196dddc..0000000 --- a/.AURINFO +++ /dev/null @@ -1,20 +0,0 @@ -pkgbase = florence - pkgdesc = A configurable on-screen virtual keyboard - pkgver = 0.6.3 - pkgrel = 1 - url = http://sourceforge.net/projects/florence/ - arch = i686 - arch = x86_64 - license = GPL - makedepends = intltool>=0.23 - depends = gtk3 - depends = libxml2 - depends = librsvg - depends = gettext - depends = gstreamer>=1.0 - provides = florence - source = http://sourceforge.net/projects/florence/files/florence/0.6.3/florence-0.6.3.tar.bz2 - md5sums = 8775051d7352f75dec5a86dc9964e8e0 - -pkgname = florence - diff --git a/.SRCINFO b/.SRCINFO index 196dddc..7d82a55 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,20 +1,24 @@ +# Generated by mksrcinfo v8 +# Sun Jan 31 23:20:02 UTC 2016 pkgbase = florence pkgdesc = A configurable on-screen virtual keyboard pkgver = 0.6.3 - pkgrel = 1 + pkgrel = 2 url = http://sourceforge.net/projects/florence/ + install = florence.install arch = i686 arch = x86_64 license = GPL makedepends = intltool>=0.23 + makedepends = gnome-doc-utils depends = gtk3 depends = libxml2 depends = librsvg + depends = libxtst depends = gettext depends = gstreamer>=1.0 - provides = florence source = http://sourceforge.net/projects/florence/files/florence/0.6.3/florence-0.6.3.tar.bz2 - md5sums = 8775051d7352f75dec5a86dc9964e8e0 + sha256sums = 422992fd07d285be73cce721a203e22cee21320d69b0fda1579ce62944c5091e pkgname = florence diff --git a/PKGBUILD b/PKGBUILD index a11a267..98a5d7d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,49 +1,36 @@ -# Maintainer: UshakovVasilii +# Maintainer: Manuel Hüsers +# Contributor: UshakovVasilii # Contributor: Charon77 # Contributor: debdj pkgname=florence pkgver=0.6.3 -pkgrel=1 +pkgrel=2 pkgdesc="A configurable on-screen virtual keyboard" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/florence/" license=('GPL') - -# http://florence.sourceforge.net/english/install.html -depends=( - 'gtk3' - 'libxml2' - 'librsvg' - 'gettext' - 'gstreamer>=1.0' - ) - -makedepends=('intltool>=0.23') - -# libxtst > at-spi2-core > gtk3 -#optdepends=( -# 'gnome-doc-utils' -# 'libnotify' -# ) - -provides=(florence) -source=("http://sourceforge.net/projects/florence/files/florence/$pkgver/florence-$pkgver.tar.bz2") - -md5sums=('8775051d7352f75dec5a86dc9964e8e0') +depends=('gtk3' 'libxml2' 'librsvg' 'libxtst' 'gettext' 'gstreamer>=1.0') # http://florence.sourceforge.net/english/install.html +makedepends=('intltool>=0.23' 'gnome-doc-utils') +install="${pkgname}.install" +source=("http://sourceforge.net/projects/florence/files/florence/${pkgver}/florence-${pkgver}.tar.bz2") +sha256sums=('422992fd07d285be73cce721a203e22cee21320d69b0fda1579ce62944c5091e') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr \ - --without-docs \ - --without-notification + ./configure --prefix=/usr \ + --without-notification \ + --without-at-spi \ + --with-panelapplet \ + --with-xtst \ + --with-docs \ + --disable-static - make || return 1 + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR=${pkgdir} install || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } - diff --git a/florence.install b/florence.install new file mode 100644 index 0000000..414e7a2 --- /dev/null +++ b/florence.install @@ -0,0 +1,16 @@ +_update() { + glib-compile-schemas '/usr/share/glib-2.0/schemas/' + update-desktop-database -q +} + +post_install() { + _update +} + +post_upgrade() { + _update +} + +post_remove() { + _update +}