New release

Refactored PKGBUILD
Added .install file
Added doc support
Removed static libraries
This commit is contained in:
Manuel 2016-02-01 00:20:02 +01:00
parent afe00038be
commit 98c50b0bb4
4 changed files with 42 additions and 55 deletions

View file

@ -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

View file

@ -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

View file

@ -1,49 +1,36 @@
# Maintainer: UshakovVasilii <UshakovVasilii@yahoo.com>
# Maintainer: Manuel Hüsers <manuel.huesers@uni-ol.de>
# Contributor: UshakovVasilii <UshakovVasilii@yahoo.com>
# Contributor: Charon77 <evans.jahja@yahoo.com>
# Contributor: debdj <debd92@gmail.com>
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}"
./configure --prefix=/usr \
--without-docs \
--without-notification
--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
make DESTDIR="${pkgdir}" install
}

16
florence.install Normal file
View file

@ -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
}