New support pkgs for Kalzium

This commit is contained in:
Manuel 2012-11-29 20:37:59 +00:00
parent e8b9413ac2
commit 6555137f5b
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Support packages for Desktop
pkgname=chemical-mime-data
pkgver=0.1.94
pkgrel=1
pkgdesc="Collection of data files to add support for various chemical MIME types"
arch=('any')
url="http://chemical-mime.sourceforge.net/"
license=('LGPL')
depends=('xdg-utils' 'shared-mime-info' 'hicolor-icon-theme')
makedepends=('intltool' 'libxslt' 'imagemagick' 'gnome-mime-data' 'librsvg')
install=$pkgname.install
source=("http://downloads.sourceforge.net/chemical-mime/${pkgname}-${pkgver}.tar.gz")
md5sums=('ca54b5fbd7f43ee5380e394bfd273b95')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-update-database
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}

View File

@ -0,0 +1,12 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

27
gnome-mime-data/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Support packages for Desktop
pkgname=gnome-mime-data
pkgver=2.18.0
pkgrel=1
pkgdesc="The base MIME and Application database for GNOME"
arch=(any)
license=('GPL')
depends=('shared-mime-info')
makedepends=('intltool')
url="http://www.gnome.org"
source=(ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2)
md5sums=('541858188f80090d12a33b5a7c34d42c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/lib"
mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/"
}