wok-current annotate compiz-plugins-extra/receipt @ rev 24050
updated i3 and i3-man (4.5.1 -> 4.19.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 13 14:58:33 2021 +0100 (2021-05-13) |
parents | 22980cdd8a20 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@15957 | 1 # SliTaz package receipt. |
pankso@15957 | 2 |
pankso@15957 | 3 PACKAGE="compiz-plugins-extra" |
Hans-G?nter@22613 | 4 VERSION="0.8.14" |
pankso@15957 | 5 CATEGORY="x-window" |
pankso@15957 | 6 SHORT_DESC="Compiz extra plugins." |
psychomaniak@19217 | 7 MAINTAINER="psychomaniak@xakep.ru" |
pankso@15957 | 8 LICENSE="GPL2" |
Hans-G?nter@22613 | 9 WEB_SITE="https://github.com/compiz-reloaded" |
Hans-G?nter@22613 | 10 |
psychomaniak@19217 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19217 | 12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@22613 | 13 |
psychomaniak@19217 | 14 WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff" |
psychomaniak@19217 | 15 EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u" |
pankso@15957 | 16 |
Hans-G?nter@22613 | 17 DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main |
Hans-G?nter@22613 | 18 gtk+ libnotify librsvg xorg-libX11" |
Hans-G?nter@22613 | 19 BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev |
Hans-G?nter@22613 | 20 compiz-plugins-main-dev file gtk+-dev intltool libnotify-dev |
Hans-G?nter@22613 | 21 librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev |
Hans-G?nter@22613 | 22 util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev" |
pankso@15957 | 23 |
pankso@15957 | 24 # Rules to configure and make the package. |
pankso@15957 | 25 compile_rules() |
pankso@15957 | 26 { |
Hans-G?nter@22613 | 27 # 0.8.12.1 |
Hans-G?nter@22613 | 28 # [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ |
Hans-G?nter@22613 | 29 # wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 |
Hans-G?nter@22613 | 30 # patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES |
Hans-G?nter@22613 | 31 |
Hans-G?nter@22613 | 32 ./configure --prefix=/usr && |
Hans-G?nter@22613 | 33 make && |
Hans-G?nter@22613 | 34 make install |
pankso@15957 | 35 } |
pankso@15957 | 36 |
pankso@15957 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15957 | 38 genpkg_rules() |
pankso@15957 | 39 { |
Hans-G?nter@22613 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@22613 | 41 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22613 | 42 |
Hans-G?nter@22613 | 43 cp -a $install/usr/lib/compiz $fs/usr/lib |
Hans-G?nter@22613 | 44 cp -a $install/usr/share/compiz $fs/usr/share |
Hans-G?nter@22613 | 45 |
Hans-G?nter@22613 | 46 # Set list of wanted locales in LOCALE_PACK |
Hans-G?nter@22613 | 47 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
Hans-G?nter@22613 | 48 |
Hans-G?nter@22613 | 49 # Copy message files in wanted languages, if available |
Hans-G?nter@22613 | 50 for locale in $LOCALE_PACK |
Hans-G?nter@22613 | 51 do |
Hans-G?nter@22613 | 52 [ -d $install/usr/share/locale/$locale ] || continue |
Hans-G?nter@22613 | 53 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale |
Hans-G?nter@22613 | 54 done |
Hans-G?nter@22613 | 55 |
psychomaniak@19217 | 56 cd $fs/usr/lib/compiz; rm -f *.a *.la |
pankso@15957 | 57 } |