diff options
Diffstat (limited to 'community-staging')
-rw-r--r-- | community-staging/darktable/PKGBUILD | 43 | ||||
-rw-r--r-- | community-staging/darktable/darktable.install | 22 | ||||
-rw-r--r-- | community-staging/kphotoalbum/PKGBUILD | 47 | ||||
-rw-r--r-- | community-staging/kphotoalbum/fix-docbook-build.patch | 236 | ||||
-rw-r--r-- | community-staging/kphotoalbum/fix-with-exiv2-0.21.patch | 47 | ||||
-rw-r--r-- | community-staging/kphotoalbum/kphotoalbum.install | 11 | ||||
-rw-r--r-- | community-staging/krename/PKGBUILD | 31 | ||||
-rw-r--r-- | community-staging/krename/krename.install | 11 | ||||
-rw-r--r-- | community-staging/libextractor/PKGBUILD | 33 | ||||
-rw-r--r-- | community-staging/libextractor/libextractor.install | 20 | ||||
-rw-r--r-- | community-staging/rawstudio/PKGBUILD | 33 | ||||
-rw-r--r-- | community-staging/rawstudio/rawstudio.install | 11 |
12 files changed, 545 insertions, 0 deletions
diff --git a/community-staging/darktable/PKGBUILD b/community-staging/darktable/PKGBUILD new file mode 100644 index 000000000..5b81d0475 --- /dev/null +++ b/community-staging/darktable/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 56175 2011-10-02 21:04:18Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Christian Himpel <chressie at gmail dot com> +# Contributor: Johannes Hanika <hanatos at gmail dot com> + +pkgname=darktable +pkgver=0.9.2 +_pkgver=0.9 +pkgrel=2 +pkgdesc="Utility to organize and develop raw images" +arch=('i686' 'x86_64') +url=http://darktable.sf.net/ +license=('GPL3') +depends=('exiv2>=0.18' 'gconf>=2.26' 'intltool>=0.40' 'lcms2' 'lensfun>=0.2.3' 'libglade' + 'curl' 'libgnome-keyring' 'libgphoto2' 'libusb-compat' 'openexr' 'sqlite3') +makedepends=('intltool>=0.40' 'cmake' 'sqlite3') +optdepends=( 'librsvg') +install=darktable.install +options=(!libtool) +source=(http://downloads.sourceforge.net/project/darktable/darktable/${_pkgver}/darktable-$pkgver.tar.gz) +md5sums=('08377e80ad77c7b11f742f26fddb80f1') + +build() { + cd $srcdir/$pkgname-$pkgver + mkdir -p build + cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_USERMANUAL=False \ + -DDONT_INSTALL_GCONF_SCHEMAS=True \ + -DBINARY_PACKAGE_BUILD=1 \ + .. + make +} + +package() { + cd $srcdir/$pkgname-$pkgver/build + make DESTDIR=$pkgdir install + mv "${pkgdir}/usr/share/doc/darktable" "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" + mkdir -p "${pkgdir}/usr/share/gconf/schemas/" + mv "${pkgdir}/etc/gconf/schemas/darktable.schemas" "${pkgdir}/usr/share/gconf/schemas/" +} diff --git a/community-staging/darktable/darktable.install b/community-staging/darktable/darktable.install new file mode 100644 index 000000000..b92aab488 --- /dev/null +++ b/community-staging/darktable/darktable.install @@ -0,0 +1,22 @@ +pkgname=darktable + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + [ -x `which update-desktop-database` ] && update-desktop-database -q +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + [ -x `which update-desktop-database` ] && update-desktop-database -q +} diff --git a/community-staging/kphotoalbum/PKGBUILD b/community-staging/kphotoalbum/PKGBUILD new file mode 100644 index 000000000..1ce076b79 --- /dev/null +++ b/community-staging/kphotoalbum/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 56162 2011-10-02 13:52:02Z lcarlier $ +# Maintainer: Laurent Carlier <lordheavym@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Gilles CHAUVIN <gcnweb ][ gmail ? com> +# Contributor: Jonathan Schaeffer <joschaeffer ][ gmail ? com> +# Contributor: chfoxli <lg ][ romandie ? com> + +pkgname=kphotoalbum +pkgver=4.1.1 +pkgrel=10 +pkgdesc="KDE Photo Album, picture collection manager" +url="http://www.kphotoalbum.org/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('kdebase-runtime' 'libkipi' 'libkexiv2' 'libkdcraw') +makedepends=('cmake' 'automoc4' 'kdeedu-marble' 'kdemultimedia-mplayerthumbs') +optdepends=('kdeedu-marble: integration with Marble' + 'kipi-plugins: add extra functionality' + 'kdemultimedia-mplayerthumbs: video thumbnails') +install=${pkgname}.install +source=("ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'fix-docbook-build.patch' + 'fix-with-exiv2-0.21.patch') +md5sums=('c00a5f179e487ac89fccf8dfb3cd6ef0' + '1b48553af74f0488fdad55758e911e3a' + '9238101a2d7450e6dd822778807dd7bd') + +build() { + cd ${srcdir} + + patch -Np0 -i ${srcdir}/fix-docbook-build.patch + patch -Np0 -i ${srcdir}/fix-with-exiv2-0.21.patch + + mkdir build + cd build + + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + + make DESTDIR=${pkgdir} install +} diff --git a/community-staging/kphotoalbum/fix-docbook-build.patch b/community-staging/kphotoalbum/fix-docbook-build.patch new file mode 100644 index 000000000..575a4271e --- /dev/null +++ b/community-staging/kphotoalbum/fix-docbook-build.patch @@ -0,0 +1,236 @@ +diff -up kphotoalbum-4.1.1/doc/index.docbook.docbook_fix kphotoalbum-4.1.1/doc/index.docbook +--- kphotoalbum-4.1.1/doc/index.docbook.docbook_fix 2009-11-15 15:16:29.000000000 -0600 ++++ kphotoalbum-4.1.1/doc/index.docbook 2010-06-13 13:03:02.815174744 -0500 +@@ -1,5 +1,5 @@ + <?xml version="1.0" ?> +-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ ++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ + <!ENTITY kphotoalbum "<application>KPhotoAlbum</application>"> + <!ENTITY kappname "&kphotoalbum;"> + <!ENTITY package "kdeextragear-2"> +@@ -41,12 +41,6 @@ + <date>2004-08-06</date> + <releaseinfo>2.0</releaseinfo> + +- <keywordset> +- <keyword>KDE</keyword> +- <keyword>kdeextragear-2</keyword> +- <keyword>KPhotoAlbum</keyword> +- <keyword>Image Database</keyword> +- </keywordset> + <abstract><para> + This is the user manual for &kphotoalbum;. If you are + not the type who likes reading documentation, but rather just want to try +@@ -64,6 +58,12 @@ menu and select <guimenuitem>Run &kphoto + on long HTML document at <ulink + url="http://www.kphotoalbum.org/">&kphotoalbum;'s Homepage</ulink></para> + </abstract> ++ <keywordset> ++ <keyword>KDE</keyword> ++ <keyword>kdeextragear-2</keyword> ++ <keyword>KPhotoAlbum</keyword> ++ <keyword>Image Database</keyword> ++ </keywordset> + </bookinfo> + + &introduction; +diff -up kphotoalbum-4.1.1/doc-translations/de_kphotoalbum/kphotoalbum/index.docbook.docbook_fix kphotoalbum-4.1.1/doc-translations/de_kphotoalbum/kphotoalbum/index.docbook +--- kphotoalbum-4.1.1/doc-translations/de_kphotoalbum/kphotoalbum/index.docbook.docbook_fix 2009-11-15 15:17:07.000000000 -0600 ++++ kphotoalbum-4.1.1/doc-translations/de_kphotoalbum/kphotoalbum/index.docbook 2010-06-13 13:10:06.145165665 -0500 +@@ -1,5 +1,5 @@ + <?xml version="1.0" ?> +-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ ++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ + <!ENTITY kphotoalbum "<application + >KPhotoAlbum</application + >"> +@@ -65,16 +65,6 @@ + <releaseinfo + >2.0</releaseinfo> + +- <keywordset> +- <keyword +->KDE</keyword> +- <keyword +->kdeextragear-2</keyword> +- <keyword +->KPhotoAlbum</keyword> +- <keyword +->Bilddatenbank</keyword> +- </keywordset> + <abstract + ><para + >Dies ist das Benutzerhandbuch für &kphotoalbum;. Wenn Sie nicht gerne Handbücher lesen, sondern lieber gleich Funktionen ausprobieren möchten, haben Sie folgende Alternativen zu diesem Handbuch: <itemizedlist> +@@ -102,6 +92,12 @@ + >HTML</acronym + >-Dokument zum Herunterladen.</para> + </abstract> ++ <keywordset> ++ <keyword>KDE</keyword> ++ <keyword>kdeextragear-2</keyword> ++ <keyword>KPhotoAlbum</keyword> ++ <keyword>Bilddatenbank</keyword> ++ </keywordset> + </bookinfo> + + &introduction; +diff -up kphotoalbum-4.1.1/doc-translations/et_kphotoalbum/kphotoalbum/index.docbook.docbook_fix kphotoalbum-4.1.1/doc-translations/et_kphotoalbum/kphotoalbum/index.docbook +--- kphotoalbum-4.1.1/doc-translations/et_kphotoalbum/kphotoalbum/index.docbook.docbook_fix 2009-11-15 15:17:20.000000000 -0600 ++++ kphotoalbum-4.1.1/doc-translations/et_kphotoalbum/kphotoalbum/index.docbook 2010-06-13 13:11:18.860165964 -0500 +@@ -1,5 +1,5 @@ + <?xml version="1.0" ?> +-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ ++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ + <!ENTITY kphotoalbum "<application + >KPhotoAlbum</application + >"> +@@ -65,16 +65,6 @@ + <releaseinfo + >2.0</releaseinfo> + +- <keywordset> +- <keyword +->KDE</keyword> +- <keyword +->kdeextragear-2</keyword> +- <keyword +->KPhotoAlbum</keyword> +- <keyword +->Piltide andmebaas</keyword> +- </keywordset> + <abstract + ><para + >See on &kphotoalbum;i käsiraamat. Kui sa ei armasta eriti käsiraamatuid lugeda, vaid soovid lihtsalt proovida, mis mida teeb, siis on sinu ees lahti mitu võimalust: <itemizedlist> +@@ -100,6 +90,12 @@ + >&kphotoalbum;i koduleheküljelt</ulink + >.</para> + </abstract> ++ <keywordset> ++ <keyword>KDE</keyword> ++ <keyword>kdeextragear-2</keyword> ++ <keyword>KPhotoAlbum</keyword> ++ <keyword>Piltide andmebaas</keyword> ++ </keywordset> + </bookinfo> + + &introduction; +diff -up kphotoalbum-4.1.1/doc-translations/it_kphotoalbum/kphotoalbum/index.docbook.docbook_fix kphotoalbum-4.1.1/doc-translations/it_kphotoalbum/kphotoalbum/index.docbook +--- kphotoalbum-4.1.1/doc-translations/it_kphotoalbum/kphotoalbum/index.docbook.docbook_fix 2009-11-15 15:17:57.000000000 -0600 ++++ kphotoalbum-4.1.1/doc-translations/it_kphotoalbum/kphotoalbum/index.docbook 2010-06-13 13:12:00.978165382 -0500 +@@ -1,5 +1,5 @@ + <?xml version="1.0" ?> +-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ ++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ + <!ENTITY kphotoalbum "<application + >KPhotoAlbum</application + >"> +@@ -65,16 +65,6 @@ + <releaseinfo + >2.0</releaseinfo> + +- <keywordset> +- <keyword +->KDE</keyword> +- <keyword +->kdeextragear-2</keyword> +- <keyword +->KPhotoAlbum</keyword> +- <keyword +->Banca dati immagini</keyword> +- </keywordset> + <abstract + ><para + >Questo è il manuale utente di &kphotoalbum;. Se non sei il tipo a cui piace leggere la documentazione, ma che preferisce provare a far funzionare le cose, eccoti delle alternative: <itemizedlist> +@@ -100,6 +90,12 @@ + >homepage di &kphotoalbum;</ulink + ></para> + </abstract> ++ <keywordset> ++ <keyword>KDE</keyword> ++ <keyword>kdeextragear-2</keyword> ++ <keyword>KPhotoAlbum</keyword> ++ <keyword>Banca dati immagini</keyword> ++ </keywordset> + </bookinfo> + + &introduction; +diff -up kphotoalbum-4.1.1/doc-translations/sv_kphotoalbum/kphotoalbum/index.docbook.docbook_fix kphotoalbum-4.1.1/doc-translations/sv_kphotoalbum/kphotoalbum/index.docbook +--- kphotoalbum-4.1.1/doc-translations/sv_kphotoalbum/kphotoalbum/index.docbook.docbook_fix 2009-11-15 15:19:13.000000000 -0600 ++++ kphotoalbum-4.1.1/doc-translations/sv_kphotoalbum/kphotoalbum/index.docbook 2010-06-13 13:12:45.765165840 -0500 +@@ -1,5 +1,5 @@ + <?xml version="1.0" ?> +-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ ++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ + <!ENTITY kphotoalbum "<application + >KPhotoAlbum</application + >"> +@@ -65,16 +65,6 @@ + <releaseinfo + >2.0</releaseinfo> + +- <keywordset> +- <keyword +->KDE</keyword> +- <keyword +->kdeextragear-2</keyword> +- <keyword +->Kfotoalbum</keyword> +- <keyword +->Bilddatabas</keyword> +- </keywordset> + <abstract + ><para + >Det här är användarmanualen för Kfotoalbum. Om du inte är den som gillar att läsa dokumentation, utan istället bara vill försöka dig på saker och ting, ges här några alternativ: <itemizedlist> +@@ -100,6 +90,12 @@ + >Kfotoalbums hemsida</ulink + ></para> + </abstract> ++ <keywordset> ++ <keyword>KDE</keyword> ++ <keyword>kdeextragear-2</keyword> ++ <keyword>Kfotoalbum</keyword> ++ <keyword>Bilddatabas</keyword> ++ </keywordset> + </bookinfo> + + &introduction; +diff -up kphotoalbum-4.1.1/doc-translations/uk_kphotoalbum/kphotoalbum/index.docbook.docbook_fix kphotoalbum-4.1.1/doc-translations/uk_kphotoalbum/kphotoalbum/index.docbook +--- kphotoalbum-4.1.1/doc-translations/uk_kphotoalbum/kphotoalbum/index.docbook.docbook_fix 2009-11-15 15:19:26.000000000 -0600 ++++ kphotoalbum-4.1.1/doc-translations/uk_kphotoalbum/kphotoalbum/index.docbook 2010-06-13 13:13:28.217166055 -0500 +@@ -1,5 +1,5 @@ + <?xml version="1.0" ?> +-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ ++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ + <!ENTITY kphotoalbum "<application + >KPhotoAlbum</application + >"> +@@ -65,16 +65,6 @@ + <releaseinfo + >2.0</releaseinfo> + +- <keywordset> +- <keyword +->KDE</keyword> +- <keyword +->kdeextragear-2</keyword> +- <keyword +->KPhotoAlbum</keyword> +- <keyword +->База даних зображень</keyword> +- </keywordset> + <abstract + ><para + >Це інструкція користувача для &kphotoalbum;. Якщо ви не любитель або любителька читання документації і надаєте перевагу самостійному вивченню програми шляхом експериментів, ви можете піти одним з таких шляхів: <itemizedlist> +@@ -100,6 +90,12 @@ + >домашній сторінці &kphotoalbum;</ulink + ></para> + </abstract> ++ <keywordset> ++ <keyword>KDE</keyword> ++ <keyword>kdeextragear-2</keyword> ++ <keyword>KPhotoAlbum</keyword> ++ <keyword>База даних зображень</keyword> ++ </keywordset> + </bookinfo> + + &introduction; diff --git a/community-staging/kphotoalbum/fix-with-exiv2-0.21.patch b/community-staging/kphotoalbum/fix-with-exiv2-0.21.patch new file mode 100644 index 000000000..65baf235d --- /dev/null +++ b/community-staging/kphotoalbum/fix-with-exiv2-0.21.patch @@ -0,0 +1,47 @@ +--- kphotoalbum-4.1.1/Exif/Info.cpp.orig 2010/08/16 08:04:32 1164187 ++++ kphotoalbum-4.1.1/Exif/Info.cpp 2011/01/09 06:50:40 1213128 +@@ -106,6 +106,28 @@ + return res; + + QList<const Exiv2::TagInfo*> tags; ++ std::ostringstream s; ++ ++#if (EXIV2_TEST_VERSION(0,21,0)) ++ const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList(); ++ while (gi->tagList_ != 0) { ++ Exiv2::TagListFct tl = gi->tagList_; ++ const Exiv2::TagInfo* ti = tl(); ++ ++ while (ti->tag_ != 0xFFFF) { ++ tags << ti; ++ ++ti; ++ } ++ ++gi; ++ } ++ ++ for (QList<const Exiv2::TagInfo*>::iterator it = tags.begin(); it != tags.end(); ++it) { ++ while ( (*it)->tag_ != 0xffff ) { ++ res.insert(QString::fromLatin1(Exiv2::ExifKey(**it).key().c_str())); ++ ++(*it); ++ } ++ } ++#else + tags << + Exiv2::ExifTags::ifdTagList() << + Exiv2::ExifTags::exifTagList() << +@@ -121,7 +143,6 @@ + // Now the ugly part -- exiv2 doesn't have any way to get a list of + // MakerNote tags in a reasonable form, so we have to parse it from strings + +- std::ostringstream s; + for ( Exiv2::IfdId kind = Exiv2::canonIfdId; kind < Exiv2::lastIfdId; + kind = static_cast<Exiv2::IfdId>( kind + 1 ) ) { + #if EXIV2_TEST_VERSION(0,17,0) +@@ -130,6 +151,7 @@ + Exiv2::ExifTags::makerTaglist( s, kind ); + #endif + } ++#endif + + // IPTC tags use yet another format... + Exiv2::IptcDataSets::dataSetList( s ); diff --git a/community-staging/kphotoalbum/kphotoalbum.install b/community-staging/kphotoalbum/kphotoalbum.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/community-staging/kphotoalbum/kphotoalbum.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-staging/krename/PKGBUILD b/community-staging/krename/PKGBUILD new file mode 100644 index 000000000..8a3bf3de2 --- /dev/null +++ b/community-staging/krename/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 56158 2011-10-02 13:17:47Z ebelanger $ +# Maintainer: Eric Bélanger <eric@archlinux.org> + +pkgname=krename +pkgver=4.0.7 +pkgrel=2 +pkgdesc="A very powerfull batch file renamer for KDE" +arch=('i686' 'x86_64') +url="http://www.krename.net" +license=('GPL') +depends=('kdelibs' 'taglib' 'xdg-utils') +makedepends=('cmake' 'automoc4') +options=('libtool') +install=krename.install +source=(http://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('c53d1819247a88bc4f49d52936f1e2bc7fa9850d') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/community-staging/krename/krename.install b/community-staging/krename/krename.install new file mode 100644 index 000000000..1c0de2e4f --- /dev/null +++ b/community-staging/krename/krename.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-staging/libextractor/PKGBUILD b/community-staging/libextractor/PKGBUILD new file mode 100644 index 000000000..b37685dbc --- /dev/null +++ b/community-staging/libextractor/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 56177 2011-10-02 21:05:24Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s@gmail.com> +# Contributor: damir <damir@archlinux.org> + +pkgname=libextractor +pkgver=0.6.2 +pkgrel=3 +pkgdesc="A library used to extract meta-data from files of arbitrary type" +arch=("i686" "x86_64") +license=('GPL') +url="http://gnunet.org/libextractor/" +depends=('libvorbis' 'libtool' 'gtk2' 'libgsf' 'libmpeg2' 'texinfo') +makedepends=('flac' 'poppler' 'exiv2' 'qt') +optdepends=('flac' + 'poppler' + 'exiv2' + 'qt') +options=('!libtool' '!makeflags') +install=libextractor.install +source=(http://ftpmirror.gnu.org/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('4b2af1167061430d58a101d5dfc6b4c7') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --enable-shared --disable-static + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + rm ${pkgdir}/usr/share/info/dir +} diff --git a/community-staging/libextractor/libextractor.install b/community-staging/libextractor/libextractor.install new file mode 100644 index 000000000..24d668af5 --- /dev/null +++ b/community-staging/libextractor/libextractor.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(extractor.info.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/community-staging/rawstudio/PKGBUILD b/community-staging/rawstudio/PKGBUILD new file mode 100644 index 000000000..3dd543393 --- /dev/null +++ b/community-staging/rawstudio/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 56179 2011-10-02 21:06:25Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Roman Kyrylych <roman@archlinux.org> +# Contributor: cdhotfire <cdhotfire@gmail.com> + +pkgname=rawstudio +pkgver=2.0 +pkgrel=3 +pkgdesc="An open source raw-image converter written in GTK+" +arch=('i686' 'x86_64') +license=('GPL') +url="http://rawstudio.org/" +depends=('exiv2' 'libgphoto2' 'flickcurl' 'libjpeg' 'fftw' 'gconf' 'lensfun' + 'raptor1' 'lcms' 'gtk2') +install=${pkgname}.install +options=('!libtool') +source=(http://rawstudio.org/files/release/${pkgname}-${pkgver}.tar.gz) +md5sums=('b2f86b8ca6b83ad954e3104c4cb89e9b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make prefix="${pkgdir}/usr" install + mkdir $pkgdir/usr/lib/rawstudio + mv $pkgdir/usr/share/rawstudio/plugins $pkgdir/usr/lib/rawstudio + ln -s ../../lib/rawstudio/plugins $pkgdir/usr/share/rawstudio/plugins +} diff --git a/community-staging/rawstudio/rawstudio.install b/community-staging/rawstudio/rawstudio.install new file mode 100644 index 000000000..261adb7b4 --- /dev/null +++ b/community-staging/rawstudio/rawstudio.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q || true +} + +post_upgrade() { + update-desktop-database -q || true +} + +post_remove() { + update-desktop-database -q || true +} |