extra/hugin: add install script to update mime types From: Gergely Imreh Signed-off-by: Gergely Imreh --- hugin/PKGBUILD | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/hugin/PKGBUILD b/hugin/PKGBUILD index db7b164..4220469 100644 --- a/hugin/PKGBUILD +++ b/hugin/PKGBUILD @@ -13,6 +13,7 @@ depends=('wxgtk>=2.8.9.2' 'libpano13>=2.9.14' 'boost' 'enblend-enfuse' 'exiv2' \ optdepends=('perl-exiftool: write metadata on output images') makedepends=('zip' 'cmake') url="http://hugin.sourceforge.net/" +install=${pkgname}.install options=(force) source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('0c88afbd7f8159aac29404ff40370400') @@ -29,4 +30,22 @@ build() { -DCMAKE_EXE_LINKER_FLAGS="-lpthread" || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 + + # Add install script to update MIME types + cd ${startdir} + cat > ${pkgname}.install <