wok-next view yandex-disk/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 270c09f6a958 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="yandex-disk"
4 VERSION="0.1.5.978"
5 CATEGORY="misc"
6 SHORT_DESC="Yandex.Disk keeps your files with you at all times"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="https://disk.yandex.ru/"
11 case $ARCH in
12 i?86) TARBALL="yandex-disk_${VERSION}_i386.deb";;
13 x86_64) TARBALL="yandex-disk_${VERSION}_amd64.deb";;
14 esac
15 WGET_URL="http://repo.yandex.ru/yandex-disk/deb/pool/main/y/yandex-disk/$TARBALL"
17 COOKOPTS="!extradesktops"
19 BUILD_DEPENDS="gettext-dev"
21 compile_rules() {
22 # Extract filesystem from package
23 mkdir -p $install
24 dpkg-deb -x $SRC/$TARBALL $install
26 # Add SliTaz desktop integration
27 cp -a $stuff/usr $install
29 # Add translations for desktop integration
30 cd $stuff/po
31 make DESTDIR=$install install
32 make clean
33 }
35 genpkg_rules() {
36 copy yandex-disk copyright *.mo \
37 publish unpublish test status *.desktop yandex-disk-helper \
38 @ico
39 DEPENDS="gcc-lib-base glibc-base zlib"
40 }
42 pre_remove() {
43 killall -q yandex-disk
44 }