27 lines
684 B
Plaintext
27 lines
684 B
Plaintext
# Description: core database of common types
|
|
# URL: http://freedesktop.org/Software/shared-mime-info
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: glib,libxml2,p5-xml-parser
|
|
# Group: gnome
|
|
|
|
name=shared-mime-info
|
|
version=0.21
|
|
release=1
|
|
source=(http://freedesktop.org/~hadess/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
rm po/*.po
|
|
sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
|
|
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
|
|
|
|
./configure --prefix=/usr --mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d -m 755 $PKG/usr/lib/pkgconfig
|
|
mv $PKG/usr/share/pkgconfig/shared-mime-info.pc $PKG/usr/lib/pkgconfig
|
|
rmdir $PKG/usr/share/pkgconfig
|
|
}
|