wok-next view gpa/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | ac006a7bf27c |
children | 7bf02e95fe42 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gpa"
4 VERSION="0.9.9"
5 CATEGORY="security"
6 SHORT_DESC="GNU Privacy Assistant"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnupg.org/related_software/gpa/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL"
13 # Integrity check: https://www.gnupg.org/download/integrity_check.html
14 TARBALL_SHA1="1cf86c9e38aa553fdb880c55cbc6755901ad21a4"
16 BUILD_DEPENDS="gtk+-dev libgpg-error-dev libassuan-dev gpgme-dev"
17 SPLIT="gpa-langpack"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS && make && make install || return 1
22 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 gpa)
28 cp -a $install/* $fs
29 rm -r $fs/usr/share/locale
30 DEPENDS="gpgme gtk+ pinentry-gtk"
31 ;;
32 gpa-langpack)
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/share/locale $fs/usr/share
35 CAT="localization|locale files"
36 ;;
37 esac
38 }