wok-next view yandex-disk/receipt @ rev 20934
Updates...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 19:56:09 2018 +0300 (2018-08-23) |
parents | 10df65db91ad |
children | d5aab818505e |
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 DEPENDS="gcc-lib-base glibc-base zlib"
20 BUILD_DEPENDS="gettext"
22 compile_rules() {
23 # Extract filesystem from package
24 mkdir -p $install
25 dpkg-deb -x $SRC/$TARBALL $install
27 # Add SliTaz desktop integration
28 cp -a $stuff/usr $install
30 # Add translations for desktop integration
31 cd $stuff/po
32 make DESTDIR=$install install
33 make clean
34 }
36 genpkg_rules() {
37 copy yandex-disk copyright *.mo \
38 publish unpublish test status *.desktop yandex-disk-helper \
39 @ico
40 }
42 pre_remove() {
43 killall -q yandex-disk
44 }