summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/avahi/APKBUILD6
-rw-r--r--main/avfs/APKBUILD1
-rw-r--r--main/cups-filters/APKBUILD1
-rw-r--r--main/enchant/APKBUILD11
-rw-r--r--main/geany/APKBUILD1
-rw-r--r--main/gegl/APKBUILD1
-rw-r--r--main/gnome-screensaver/APKBUILD1
-rw-r--r--main/gnome-session/APKBUILD1
-rw-r--r--main/gnome-settings-daemon/APKBUILD1
-rw-r--r--main/gnome-terminal/APKBUILD1
-rw-r--r--main/goffice/APKBUILD1
-rw-r--r--main/gphoto2/APKBUILD1
-rw-r--r--main/graphviz/APKBUILD1
-rw-r--r--main/gtkspell/APKBUILD12
-rw-r--r--main/inkscape/APKBUILD1
-rw-r--r--main/keyutils/APKBUILD2
-rw-r--r--main/libatasmart/APKBUILD1
-rw-r--r--main/libavc1394/APKBUILD1
-rw-r--r--main/libdc1394/APKBUILD1
-rw-r--r--main/libgnomekbd/APKBUILD1
-rw-r--r--main/libgphoto2/APKBUILD6
-rw-r--r--main/libiec61883/APKBUILD1
-rw-r--r--main/libmpdclient/APKBUILD11
-rw-r--r--main/libmtp/APKBUILD1
-rw-r--r--main/libnetfilter_acct/APKBUILD12
-rw-r--r--main/libnetfilter_conntrack/APKBUILD12
-rw-r--r--main/libnetfilter_log/APKBUILD11
-rw-r--r--main/libnetfilter_queue/APKBUILD1
-rw-r--r--main/libnjb/APKBUILD1
-rw-r--r--main/libxklavier/APKBUILD14
-rw-r--r--main/libxxf86misc/APKBUILD11
-rw-r--r--main/nautilus/APKBUILD1
-rw-r--r--main/nspr/APKBUILD1
-rw-r--r--main/php/APKBUILD1
-rw-r--r--main/radvd/APKBUILD1
-rw-r--r--main/ristretto/APKBUILD1
-rw-r--r--main/rrdtool/APKBUILD2
-rw-r--r--main/rsyslog/APKBUILD1
-rw-r--r--main/samba/APKBUILD1
-rw-r--r--main/smokeping/APKBUILD1
-rw-r--r--main/swig/APKBUILD11
-rw-r--r--main/thunar-vcs-plugin/APKBUILD1
-rw-r--r--main/thunar-volman/APKBUILD1
-rw-r--r--main/udev/APKBUILD14
-rw-r--r--main/ulogd/APKBUILD5
-rw-r--r--main/upower/APKBUILD6
-rw-r--r--main/usbredir/APKBUILD1
-rw-r--r--main/usbutils/APKBUILD5
-rw-r--r--main/xf86dgaproto/APKBUILD20
-rw-r--r--main/xf86miscproto/APKBUILD20
-rw-r--r--main/xfce4-xkb-plugin/APKBUILD1
-rw-r--r--main/xfdesktop/APKBUILD1
52 files changed, 183 insertions, 41 deletions
diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD
index 2c471a268..5c3dc310a 100644
--- a/main/avahi/APKBUILD
+++ b/main/avahi/APKBUILD
@@ -24,14 +24,14 @@ source="http://www.avahi.org/download/avahi-$pkgver.tar.gz
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $patches; do
patch -p1 -i "$srcdir"/$i || return 1
done
}
-build ()
-{
- cd "$srcdir/$pkgname-$pkgver"
+build() {
+ cd "$_builddir"
# we dont build autoipd since dhcpcd does same job
./configure \
--build=$CBUILD \
diff --git a/main/avfs/APKBUILD b/main/avfs/APKBUILD
index f4db7bb02..a2796c9e4 100644
--- a/main/avfs/APKBUILD
+++ b/main/avfs/APKBUILD
@@ -18,6 +18,7 @@ source="http://downloads.sourceforge.net/project/avf/avfs/$pkgver/avfs-$pkgver.t
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
}
build() {
diff --git a/main/cups-filters/APKBUILD b/main/cups-filters/APKBUILD
index 04fd0ec3f..b53efe8c2 100644
--- a/main/cups-filters/APKBUILD
+++ b/main/cups-filters/APKBUILD
@@ -20,6 +20,7 @@ _builddir="$srcdir"/cups-filters-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/enchant/APKBUILD b/main/enchant/APKBUILD
index 9788bead6..8caf159a6 100644
--- a/main/enchant/APKBUILD
+++ b/main/enchant/APKBUILD
@@ -12,8 +12,15 @@ depends_dev="glib-dev"
makedepends="aspell-dev dbus-glib-dev hunspell-dev libiconv-dev gettext-dev"
source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,7 +31,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
#rm "$pkgdir"/usr/lib/*.la
find "$pkgdir" -iname *.la -delete
diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD
index 8a699339d..e6f132efc 100644
--- a/main/geany/APKBUILD
+++ b/main/geany/APKBUILD
@@ -41,6 +41,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/gegl/APKBUILD b/main/gegl/APKBUILD
index 12d7791f1..e055206d6 100644
--- a/main/gegl/APKBUILD
+++ b/main/gegl/APKBUILD
@@ -15,6 +15,7 @@ depends_dev="babl-dev glib-dev"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir/$i" || return 1;;
diff --git a/main/gnome-screensaver/APKBUILD b/main/gnome-screensaver/APKBUILD
index 91da55846..fdb28a7a2 100644
--- a/main/gnome-screensaver/APKBUILD
+++ b/main/gnome-screensaver/APKBUILD
@@ -39,6 +39,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/gnome-session/APKBUILD b/main/gnome-session/APKBUILD
index 8710854ac..519f91fd4 100644
--- a/main/gnome-session/APKBUILD
+++ b/main/gnome-session/APKBUILD
@@ -27,6 +27,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/gnome-settings-daemon/APKBUILD b/main/gnome-settings-daemon/APKBUILD
index 58863deb3..0f0dd85e6 100644
--- a/main/gnome-settings-daemon/APKBUILD
+++ b/main/gnome-settings-daemon/APKBUILD
@@ -38,6 +38,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/gnome-terminal/APKBUILD b/main/gnome-terminal/APKBUILD
index 979e31ea9..930803886 100644
--- a/main/gnome-terminal/APKBUILD
+++ b/main/gnome-terminal/APKBUILD
@@ -17,6 +17,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/goffice/APKBUILD b/main/goffice/APKBUILD
index eb7fcc5a3..f774617d6 100644
--- a/main/goffice/APKBUILD
+++ b/main/goffice/APKBUILD
@@ -17,6 +17,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$_maj.$_min/$pkgname-$pk
prepare() {
cd "$srcdir"/$pkgname-$pkgver
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/gphoto2/APKBUILD b/main/gphoto2/APKBUILD
index 7831471fe..19d0f0be1 100644
--- a/main/gphoto2/APKBUILD
+++ b/main/gphoto2/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/gphoto2-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD
index e3adfe625..d43079e07 100644
--- a/main/graphviz/APKBUILD
+++ b/main/graphviz/APKBUILD
@@ -22,6 +22,7 @@ _builddir="$srcdir"/graphviz-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/gtkspell/APKBUILD b/main/gtkspell/APKBUILD
index 9112599b6..9ce15f884 100644
--- a/main/gtkspell/APKBUILD
+++ b/main/gtkspell/APKBUILD
@@ -11,8 +11,16 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://$pkgname.sourceforge.net/download/$pkgname-$pkgver.tar.gz"
depends_dev="gtk+-dev"
+
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,7 +30,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
diff --git a/main/inkscape/APKBUILD b/main/inkscape/APKBUILD
index c37ae58c8..2dfac840b 100644
--- a/main/inkscape/APKBUILD
+++ b/main/inkscape/APKBUILD
@@ -34,6 +34,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/keyutils/APKBUILD b/main/keyutils/APKBUILD
index 3e27447df..1df4f1c7b 100644
--- a/main/keyutils/APKBUILD
+++ b/main/keyutils/APKBUILD
@@ -8,7 +8,7 @@ url="http://people.redhat.com/~dhowells/keyutils/"
arch="all"
license="GPLv2+ LGPLv2+"
depends=""
-makedepends=""
+makedepends="file"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://people.redhat.com/~dhowells/keyutils/keyutils-$pkgver.tar.bz2"
diff --git a/main/libatasmart/APKBUILD b/main/libatasmart/APKBUILD
index 4a30fbe7f..da78f9b31 100644
--- a/main/libatasmart/APKBUILD
+++ b/main/libatasmart/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
# apply patches here
}
diff --git a/main/libavc1394/APKBUILD b/main/libavc1394/APKBUILD
index f392c3aa6..190d2b41c 100644
--- a/main/libavc1394/APKBUILD
+++ b/main/libavc1394/APKBUILD
@@ -21,6 +21,7 @@ _builddir="$srcdir"/libavc1394-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libdc1394/APKBUILD b/main/libdc1394/APKBUILD
index 3029cbbb7..a05e44e34 100644
--- a/main/libdc1394/APKBUILD
+++ b/main/libdc1394/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/libdc1394-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libgnomekbd/APKBUILD b/main/libgnomekbd/APKBUILD
index 4c4045f6a..187e1f4e4 100644
--- a/main/libgnomekbd/APKBUILD
+++ b/main/libgnomekbd/APKBUILD
@@ -29,6 +29,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libgphoto2/APKBUILD b/main/libgphoto2/APKBUILD
index f0ad59d8c..cf28bf9db 100644
--- a/main/libgphoto2/APKBUILD
+++ b/main/libgphoto2/APKBUILD
@@ -16,6 +16,12 @@ source="http://downloads.sourceforge.net/gphoto/libgphoto2-$pkgver.tar.bz2"
options="libtool"
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
udevscriptdir=/lib/udev ./configure \
diff --git a/main/libiec61883/APKBUILD b/main/libiec61883/APKBUILD
index 6718faa7a..fb4ede52e 100644
--- a/main/libiec61883/APKBUILD
+++ b/main/libiec61883/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/libiec61883-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libmpdclient/APKBUILD b/main/libmpdclient/APKBUILD
index 231996662..2d417547c 100644
--- a/main/libmpdclient/APKBUILD
+++ b/main/libmpdclient/APKBUILD
@@ -11,8 +11,15 @@ makedepends="doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.musicpd.org/download/libmpdclient/${pkgver%.*}/libmpdclient-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,7 +29,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
diff --git a/main/libmtp/APKBUILD b/main/libmtp/APKBUILD
index 87aae32d3..07c7c766b 100644
--- a/main/libmtp/APKBUILD
+++ b/main/libmtp/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/libmtp-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libnetfilter_acct/APKBUILD b/main/libnetfilter_acct/APKBUILD
index afa4e5d89..1edae5e8c 100644
--- a/main/libnetfilter_acct/APKBUILD
+++ b/main/libnetfilter_acct/APKBUILD
@@ -12,9 +12,15 @@ makedepends="libnfnetlink-dev libmnl-dev pkgconfig"
subpackages="$pkgname-dev"
source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,7 +33,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
diff --git a/main/libnetfilter_conntrack/APKBUILD b/main/libnetfilter_conntrack/APKBUILD
index dfb56db33..3c7343139 100644
--- a/main/libnetfilter_conntrack/APKBUILD
+++ b/main/libnetfilter_conntrack/APKBUILD
@@ -12,9 +12,15 @@ makedepends="libnfnetlink-dev libmnl-dev"
subpackages="$pkgname-dev"
source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,7 +33,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
diff --git a/main/libnetfilter_log/APKBUILD b/main/libnetfilter_log/APKBUILD
index 8345639dd..77c0fd802 100644
--- a/main/libnetfilter_log/APKBUILD
+++ b/main/libnetfilter_log/APKBUILD
@@ -13,8 +13,15 @@ makedepends="libnfnetlink-dev pkgconfig"
subpackages="$pkgname-dev"
source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,7 +34,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
diff --git a/main/libnetfilter_queue/APKBUILD b/main/libnetfilter_queue/APKBUILD
index 98a425154..e39d9fb61 100644
--- a/main/libnetfilter_queue/APKBUILD
+++ b/main/libnetfilter_queue/APKBUILD
@@ -16,6 +16,7 @@ _builddir="$srcdir"/libnetfilter_queue-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libnjb/APKBUILD b/main/libnjb/APKBUILD
index b5378df39..a818998d0 100644
--- a/main/libnjb/APKBUILD
+++ b/main/libnjb/APKBUILD
@@ -18,6 +18,7 @@ _builddir="$srcdir"/libnjb-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/libxklavier/APKBUILD b/main/libxklavier/APKBUILD
index 771398a48..c9df68805 100644
--- a/main/libxklavier/APKBUILD
+++ b/main/libxklavier/APKBUILD
@@ -21,9 +21,15 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${_v}/$pkgname-$pkgver.t
depends_dev="libxml2-dev glib-dev gettext-dev libxkbfile-dev"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,7 +41,7 @@ build ()
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
diff --git a/main/libxxf86misc/APKBUILD b/main/libxxf86misc/APKBUILD
index 1529d841a..adea8e91b 100644
--- a/main/libxxf86misc/APKBUILD
+++ b/main/libxxf86misc/APKBUILD
@@ -12,8 +12,15 @@ makedepends="pkgconfig libxext-dev libx11-dev xf86miscproto"
source="http://xorg.freedesktop.org/releases/individual/lib/libXxf86misc-$pkgver.tar.bz2"
depends_dev="xf86miscproto libx11-dev libxext-dev"
+_builddir="$srcdir/libXxf86misc-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/libXxf86misc-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,7 +31,7 @@ build() {
}
package() {
- cd "$srcdir"/libXxf86misc-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
diff --git a/main/nautilus/APKBUILD b/main/nautilus/APKBUILD
index 0db3a4256..9db7efeba 100644
--- a/main/nautilus/APKBUILD
+++ b/main/nautilus/APKBUILD
@@ -48,6 +48,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD
index 1b5a9f43d..bf9a29ebf 100644
--- a/main/nspr/APKBUILD
+++ b/main/nspr/APKBUILD
@@ -15,6 +15,7 @@ source="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$pkgver/src/nspr-$p
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
mkdir build inst
for i in $source; do
case $i in
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index d4f4a1964..c7e57d84c 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -114,6 +114,7 @@ _srcdir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_srcdir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/radvd/APKBUILD b/main/radvd/APKBUILD
index fe964793e..b30be2446 100644
--- a/main/radvd/APKBUILD
+++ b/main/radvd/APKBUILD
@@ -22,6 +22,7 @@ _builddir="$srcdir"/radvd-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/ristretto/APKBUILD b/main/ristretto/APKBUILD
index c6e6a3b10..a32115bcc 100644
--- a/main/ristretto/APKBUILD
+++ b/main/ristretto/APKBUILD
@@ -15,6 +15,7 @@ source="http://archive.xfce.org/src/apps/ristretto/${pkgver%.*}/ristretto-$pkgve
prepare() {
cd "$srcdir"/$pkgname-$pkgver
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD
index cd87acfdc..91adc81a5 100644
--- a/main/rrdtool/APKBUILD
+++ b/main/rrdtool/APKBUILD
@@ -8,7 +8,7 @@ arch="all"
license="GPL"
depends="font-sony-misc"
makedepends="libart-lgpl-dev libpng-dev freetype-dev perl-dev cairo-dev
- pango-dev lua-dev python-dev man
+ pango-dev lua lua-dev python-dev man
autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd lua-rrd:lua_rrd py-rrd:py_rrd"
source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz
diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD
index a145aae4b..5610a31fe 100644
--- a/main/rsyslog/APKBUILD
+++ b/main/rsyslog/APKBUILD
@@ -21,6 +21,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
export LDFLAGS="-lestr"
./configure \
--build=$CBUILD \
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD
index 52adac6e2..0eb8d28e9 100644
--- a/main/samba/APKBUILD
+++ b/main/samba/APKBUILD
@@ -21,6 +21,7 @@ pkggroups="winbind"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/smokeping/APKBUILD b/main/smokeping/APKBUILD
index 24f5de44a..32f828121 100644
--- a/main/smokeping/APKBUILD
+++ b/main/smokeping/APKBUILD
@@ -31,6 +31,7 @@ _vendorlib=/usr/share/perl5/vendor_perl
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
diff --git a/main/swig/APKBUILD b/main/swig/APKBUILD
index e651169a0..ca676a9c0 100644
--- a/main/swig/APKBUILD
+++ b/main/swig/APKBUILD
@@ -10,8 +10,15 @@ depends="guile"
makedepends="zlib-dev pcre-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -21,7 +28,7 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
diff --git a/main/thunar-vcs-plugin/APKBUILD b/main/thunar-vcs-plugin/APKBUILD
index c996d8cdd..5dce61c27 100644
--- a/main/thunar-vcs-plugin/APKBUILD
+++ b/main/thunar-vcs-plugin/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/thunar-vcs-plugin-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/thunar-volman/APKBUILD b/main/thunar-volman/APKBUILD
index ac069e484..d7342445b 100644
--- a/main/thunar-volman/APKBUILD
+++ b/main/thunar-volman/APKBUILD
@@ -16,6 +16,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
# apply patches here
}
diff --git a/main/udev/APKBUILD b/main/udev/APKBUILD
index 390625261..a1a03dd8d 100644
--- a/main/udev/APKBUILD
+++ b/main/udev/APKBUILD
@@ -17,9 +17,15 @@ source="http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.ta
udev-postmount.initd
udev.initd"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,7 +40,7 @@ build ()
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
# Upstream moved udevd to /lib/udev
diff --git a/main/ulogd/APKBUILD b/main/ulogd/APKBUILD
index 72a5181a8..9fce76579 100644
--- a/main/ulogd/APKBUILD
+++ b/main/ulogd/APKBUILD
@@ -18,6 +18,11 @@ source="http://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz
_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
diff --git a/main/upower/APKBUILD b/main/upower/APKBUILD
index 945aabdde..dc78ee1e7 100644
--- a/main/upower/APKBUILD
+++ b/main/upower/APKBUILD
@@ -13,6 +13,12 @@ makedepends="gtk+-dev udev-dev libusbx-dev polkit-dev dbus-glib-dev libxslt
source="http://upower.freedesktop.org/releases/upower-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
diff --git a/main/usbredir/APKBUILD b/main/usbredir/APKBUILD
index 9e9bebbf6..6f11d4ea1 100644
--- a/main/usbredir/APKBUILD
+++ b/main/usbredir/APKBUILD
@@ -17,6 +17,7 @@ _builddir="$srcdir"/usbredir-$pkgver
prepare() {
local i
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD
index 4009c0e8e..d05345127 100644
--- a/main/usbutils/APKBUILD
+++ b/main/usbutils/APKBUILD
@@ -13,6 +13,11 @@ source="http://www.kernel.org/pub/linux/utils/usb/usbutils/${pkgname}-${pkgver}.
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
build() {
cd "$_builddir"
./configure \
diff --git a/main/xf86dgaproto/APKBUILD b/main/xf86dgaproto/APKBUILD
index 927b216e2..44769340d 100644
--- a/main/xf86dgaproto/APKBUILD
+++ b/main/xf86dgaproto/APKBUILD
@@ -1,24 +1,34 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86dgaproto
pkgver=2.1
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Direct Graphics Access extension wire protocol"
url="http://xorg.freedesktop.org/"
-arch="all"
+arch="noarch"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="a036dc2fcbf052ec10621fd48b68dbb1 xf86dgaproto-2.1.tar.bz2"
diff --git a/main/xf86miscproto/APKBUILD b/main/xf86miscproto/APKBUILD
index 77b83bcff..4b91c70f0 100644
--- a/main/xf86miscproto/APKBUILD
+++ b/main/xf86miscproto/APKBUILD
@@ -1,24 +1,34 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86miscproto
pkgver=0.9.3
-pkgrel=1
+pkgrel=2
pkgdesc="X11 XFree86-Miscellaneous extension wire protocol"
url="http://xorg.freedesktop.org/"
-arch="all"
+arch="noarch"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="ca63bbb31cf5b7f37b2237e923ff257a xf86miscproto-0.9.3.tar.bz2"
diff --git a/main/xfce4-xkb-plugin/APKBUILD b/main/xfce4-xkb-plugin/APKBUILD
index cfcea8833..fe24c84e7 100644
--- a/main/xfce4-xkb-plugin/APKBUILD
+++ b/main/xfce4-xkb-plugin/APKBUILD
@@ -18,6 +18,7 @@ source="http://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/$_ver/xfce4-x
prepare() {
cd "$srcdir"/$pkgname-$pkgver
+ update_config_sub || return 1
}
build () {
diff --git a/main/xfdesktop/APKBUILD b/main/xfdesktop/APKBUILD
index 0d59d6ffd..fffdc06e6 100644
--- a/main/xfdesktop/APKBUILD
+++ b/main/xfdesktop/APKBUILD
@@ -17,6 +17,7 @@ source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ update_config_sub || return 1
for i in $source; do
case $i in
*.patch) patch -p1 -i "$srcdir"/$i || return 1;;