aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-27 21:06:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-06 06:48:37 +0000
commit6217d4883d8ef4db4665e119bb5d49066a1d285d (patch)
treee03fc9cf34a7ee23d1e9ea0aef5f679525686720 /main
parentc4bc9f12e4823949dbcb684766ea29db12774f4c (diff)
downloadaports-6217d4883d8ef4db4665e119bb5d49066a1d285d.tar.bz2
aports-6217d4883d8ef4db4665e119bb5d49066a1d285d.tar.xz
main/[various]: new triggers api
Diffstat (limited to 'main')
-rw-r--r--main/busybox/APKBUILD3
-rw-r--r--main/dbus/APKBUILD2
-rw-r--r--main/desktop-file-utils/APKBUILD2
-rw-r--r--main/fontconfig/APKBUILD2
-rw-r--r--main/gdk-pixbuf/APKBUILD2
-rw-r--r--main/glib/APKBUILD2
-rw-r--r--main/gtk+2.0/APKBUILD2
-rw-r--r--main/gtk+3.0/APKBUILD2
-rw-r--r--main/gvfs/APKBUILD7
-rw-r--r--main/java-common/APKBUILD2
-rw-r--r--main/libc0.9.32/APKBUILD3
-rw-r--r--main/mkfontdir/APKBUILD2
-rw-r--r--main/mkfontscale/APKBUILD2
-rw-r--r--main/mkinitfs/APKBUILD2
-rw-r--r--main/shared-mime-info/APKBUILD2
-rw-r--r--main/syslinux/APKBUILD2
-rw-r--r--main/vlc/APKBUILD4
17 files changed, 17 insertions, 26 deletions
diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD
index ca08551d19..27fe04a806 100644
--- a/main/busybox/APKBUILD
+++ b/main/busybox/APKBUILD
@@ -10,7 +10,7 @@ license="GPL-2"
depends=
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-static"
-triggers="busybox.trigger:/bin /usr/bin /sbin /usr/sbin /lib/modules/*"
+triggers="busybox.trigger=/bin:/usr/bin:/sbin:/usr/sbin:/lib/modules/*"
source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2
http://git.alpinelinux.org/cgit/bbsuid.git/snapshot/bbsuid-$_bbsuidver.tar.bz2
http://busybox.net/downloads/fixes-1.18.4/busybox-1.18.4-fuser.patch
@@ -74,7 +74,6 @@ package() {
}
static() {
- triggers=
mkdir -p "$subpkgdir"/bin
install -m755 "$_builddir"/busybox.static \
"$subpkgdir"/bin/busybox.static
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD
index 4b01961559..7ac1e67a58 100644
--- a/main/dbus/APKBUILD
+++ b/main/dbus/APKBUILD
@@ -8,7 +8,7 @@ pkggroups="messagebus"
arch="all"
license="GPL custom"
subpackages="$pkgname-dev $pkgname-doc"
-triggers="$pkgname.trigger:/etc/dbus-1/system.d"
+triggers="$pkgname.trigger=/etc/dbus-1/system.d"
depends=
makedepends="expat-dev libx11-dev pkgconfig util-linux-ng-dev"
depends_dev="util-linux-ng-dev"
diff --git a/main/desktop-file-utils/APKBUILD b/main/desktop-file-utils/APKBUILD
index 9a74a7f210..519876c6b4 100644
--- a/main/desktop-file-utils/APKBUILD
+++ b/main/desktop-file-utils/APKBUILD
@@ -8,7 +8,7 @@ arch="all"
license="GPL"
depends=
makedepends="glib-dev libiconv-dev gettext-dev pkgconfig"
-triggers="$pkgname.trigger:/usr/share/applications"
+triggers="$pkgname.trigger=/usr/share/applications"
source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.bz2"
build ()
diff --git a/main/fontconfig/APKBUILD b/main/fontconfig/APKBUILD
index 84d6765d85..2de89aee1a 100644
--- a/main/fontconfig/APKBUILD
+++ b/main/fontconfig/APKBUILD
@@ -10,7 +10,7 @@ license="GPL"
depends=
makedepends="pkgconfig freetype-dev expat-dev zlib-dev"
install=
-triggers="$pkgname.trigger:/usr/share/fonts/*"
+triggers="$pkgname.trigger=/usr/share/fonts/*"
subpackages="$pkgname-doc $pkgname-dev"
source="http://fontconfig.org/release/${pkgname}-${pkgver}.tar.gz"
depends_dev="freetype-dev expat-dev"
diff --git a/main/gdk-pixbuf/APKBUILD b/main/gdk-pixbuf/APKBUILD
index 1643de1fd5..dea9d8583c 100644
--- a/main/gdk-pixbuf/APKBUILD
+++ b/main/gdk-pixbuf/APKBUILD
@@ -10,7 +10,7 @@ depends=
depends_dev=
makedepends="tiff-dev libpng-dev glib-dev jpeg-dev gobject-introspection-dev"
install="$pkgname.pre-deinstall"
-triggers="$pkgname.trigger:/usr/lib/gdk-pixbuf-2.0/*/loaders"
+triggers="$pkgname.trigger=/usr/lib/gdk-pixbuf-2.0/*/loaders"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.bz2
gdk-pixbuf-libpng15.patch"
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index dec3ec3355..c74a8e58fa 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
@@ -7,7 +7,7 @@ url="http://www.gtk.org"
arch="all"
license='GPL'
depends=
-triggers="$pkgname.trigger:/usr/share/glib-2.0/schemas /usr/lib/gio/modules"
+triggers="$pkgname.trigger=/usr/share/glib-2.0/schemas:/usr/lib/gio/modules"
makedepends="gettext-dev libiconv-dev zlib-dev bzip2-dev pkgconfig"
source="http://ftp.gnome.org/pub/gnome/sources/glib/${pkgver%.*}/glib-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"
diff --git a/main/gtk+2.0/APKBUILD b/main/gtk+2.0/APKBUILD
index 4214afc57d..8e15df29ab 100644
--- a/main/gtk+2.0/APKBUILD
+++ b/main/gtk+2.0/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=5
pkgdesc="The GTK+ Toolkit (v2)"
url="http://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
-triggers="$pkgname.trigger:/usr/share/icons/*"
+triggers="$pkgname.trigger=/usr/share/icons/*"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
diff --git a/main/gtk+3.0/APKBUILD b/main/gtk+3.0/APKBUILD
index 001341f0c8..1239e7e5fa 100644
--- a/main/gtk+3.0/APKBUILD
+++ b/main/gtk+3.0/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=3
pkgdesc="The GTK+ Toolkit (v3)"
url="http://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
-triggers="$pkgname.trigger:/usr/share/icons/*"
+triggers="$pkgname.trigger=/usr/share/icons/*"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
diff --git a/main/gvfs/APKBUILD b/main/gvfs/APKBUILD
index 70c894574d..5d23563ec2 100644
--- a/main/gvfs/APKBUILD
+++ b/main/gvfs/APKBUILD
@@ -8,7 +8,7 @@ url="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/"
arch="all"
license="GPL"
depends=
-triggers="$pkgname.trigger:/usr/lib/gvfs"
+triggers="$pkgname.trigger=/usr/lib/gvfs"
makedepends="dbus-glib-dev intltool fuse-dev udev-dev bluez-dev expat-dev
samba-dev libsoup-dev avahi-dev libarchive-dev gnome-disk-utility-dev
libgphoto2-dev libcdio-dev"
@@ -51,14 +51,12 @@ _mv_files() {
fuse() {
pkgdesc="FUSE support for gvfs"
- triggers=
cd "$pkgdir"
_mv_files usr/lib/gvfs/gvfs-fuse-daemon
}
smb() {
pkgdesc="Windows fileshare support for gvfs"
- triggers=
cd "$pkgdir"
_mv_files \
usr/lib/gvfs/gvfsd-smb* \
@@ -67,7 +65,6 @@ smb() {
archive() {
pkgdesc="Archiving support for gvfs"
- triggers=
cd "$pkgdir"
_mv_files \
usr/lib/gvfs/gvfsd-archive* \
@@ -76,7 +73,6 @@ archive() {
obexftp() {
pkgdesc="ObexFTP support for gvfs"
- triggers=
cd "$pkgdir"
_mv_files \
usr/lib/gvfs/gvfsd-obex* \
@@ -85,7 +81,6 @@ obexftp() {
gphoto2() {
pkgdesc="gphoto2 support for gvfs"
- triggers=
cd "$pkgdir"
_mv_files \
usr/lib/gvfs/gvfs*gphoto* \
diff --git a/main/java-common/APKBUILD b/main/java-common/APKBUILD
index d5e3e4d383..a866fe8733 100644
--- a/main/java-common/APKBUILD
+++ b/main/java-common/APKBUILD
@@ -12,7 +12,7 @@ makedepends=""
install=""
subpackages=""
source=""
-triggers="java-common.trigger:/usr/lib/jvm"
+triggers="java-common.trigger=/usr/lib/jvm"
package() {
mkdir -p "$pkgdir"/usr/bin
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD
index 80cacf8978..e55ff220cc 100644
--- a/main/libc0.9.32/APKBUILD
+++ b/main/libc0.9.32/APKBUILD
@@ -15,7 +15,7 @@ subpackages="uclibc-dev:dev uclibc-utils:utils libthread_db"
depends_dev="linux-headers=>2.6.32"
replaces=uclibc
options="!strip"
-triggers=
+triggers="uclibc-utils.trigger=/lib:/usr/lib"
_snapurl="http://git.uclibc.org/uClibc/snapshot/master.tar.bz2"
_snapfile="$pkgname-$pkgver.tar.bz2"
@@ -115,7 +115,6 @@ dev() {
utils() {
pkgdesc="uClibc utility programs"
replaces="uclibc $pkgname"
- triggers="uclibc-utils.trigger:/lib /usr/lib"
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/sbin
mv "$pkgdir"/sbin/* "$subpkgdir"/sbin/
mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin/
diff --git a/main/mkfontdir/APKBUILD b/main/mkfontdir/APKBUILD
index 7437411ae1..24b70697d3 100644
--- a/main/mkfontdir/APKBUILD
+++ b/main/mkfontdir/APKBUILD
@@ -10,7 +10,7 @@ subpackages="$pkgname-doc"
depends="mkfontscale"
makedepends="pkgconfig"
install=
-triggers="$pkgname.trigger:/usr/share/fonts/*"
+triggers="$pkgname.trigger=/usr/share/fonts/*"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
build() {
diff --git a/main/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD
index 8e6902d193..6069575a49 100644
--- a/main/mkfontscale/APKBUILD
+++ b/main/mkfontscale/APKBUILD
@@ -10,7 +10,7 @@ subpackages="$pkgname-doc"
depends=
makedepends="pkgconfig libfontenc-dev freetype-dev xproto zlib-dev"
install=
-triggers="$pkgname.trigger:/usr/share/fonts/*"
+triggers="$pkgname.trigger=/usr/share/fonts/*"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
build() {
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 5d4d760345..00974e2a72 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=2
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox apk-tools>=2.0"
-triggers="$pkgname.trigger:/usr/share/kernel/*"
+triggers="$pkgname.trigger=/usr/share/kernel/*"
source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
0001-init-fix-progressbar-when-not-quiet.patch
eglibc.patch
diff --git a/main/shared-mime-info/APKBUILD b/main/shared-mime-info/APKBUILD
index b79e8817a9..8df8b1c651 100644
--- a/main/shared-mime-info/APKBUILD
+++ b/main/shared-mime-info/APKBUILD
@@ -9,7 +9,7 @@ license="GPL"
makedepends="libxml2-dev glib-dev intltool"
depends=
install="$pkgname.post-deinstall"
-triggers="$pkgname.trigger:/usr/share/mime"
+triggers="$pkgname.trigger=/usr/share/mime"
subpackages="$pkgname-doc"
source="http://freedesktop.org/~hadess/$pkgname-$pkgver.tar.bz2"
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD
index 1097c7e9f3..4e92dbe37a 100644
--- a/main/syslinux/APKBUILD
+++ b/main/syslinux/APKBUILD
@@ -8,7 +8,7 @@ arch="x86 x86_64"
license="GPL"
makedepends="nasm perl"
depends="mtools blkid"
-triggers="syslinux.trigger:/boot"
+triggers="syslinux.trigger=/boot"
source="http://www.kernel.org/pub/linux/utils/boot/syslinux/${pkgver%%.*}.xx/$pkgname-$pkgver.tar.bz2
extlinux.conf
update-extlinux
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD
index fb8c9f1d84..115ffe0c7f 100644
--- a/main/vlc/APKBUILD
+++ b/main/vlc/APKBUILD
@@ -7,7 +7,7 @@ pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
url="http://www.videolan.org/vlc/"
arch="all"
license="GPL-2"
-triggers="$pkgname.trigger:/usr/lib/vlc/plugins"
+triggers="$pkgname.trigger=/usr/lib/vlc/plugins"
subpackages="$pkgname-dev $pkgname-doc $pkgname-xorg $pkgname-daemon"
#depends="libnotify a52dec fluidsynth zvbi libdvbpsi lirc-utils libdca hal
# libproxy sdl_image libdvdnav>=4.1.3 lua libxv libv4l libcddb smbclient
@@ -153,7 +153,6 @@ _mv() {
xorg() {
pkgdesc="Video LAN X.org support"
- triggers=
# scan for elf files that directly or indirectly depends on
# libX* libraries
cd "$pkgdir"
@@ -172,7 +171,6 @@ xorg() {
daemon() {
pkgdesc="Support for running VLC as a daemon"
install="vlc-daemon.post-install"
- triggers=
arch="noarch"
depends="vlc"