summaryrefslogtreecommitdiffstats
path: root/main/abuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-10 13:35:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-10 13:35:34 +0000
commit83d4ec548dad7103939779e3edcbb158a331682f (patch)
treea5a0f98c31e8387897411d9a758675af8c0b75e1 /main/abuild
parent042a94e3e1becc30b4e8099ed59a0ecf9a5f8ffa (diff)
downloadaports-83d4ec548dad7103939779e3edcbb158a331682f.tar.bz2
aports-83d4ec548dad7103939779e3edcbb158a331682f.tar.xz
main/abuild: add pre-upgrade script as well
Diffstat (limited to 'main/abuild')
-rw-r--r--main/abuild/APKBUILD4
l---------main/abuild/abuild.pre-upgrade1
2 files changed, 3 insertions, 2 deletions
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index 4c55a07da..bf0183399 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -2,14 +2,14 @@
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=2.7
-pkgrel=2
+pkgrel=3
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
0001-abuild-only-warn-when-we-think-there-should-have-bee.patch
"
depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1"
makedepends="openssl-dev pkgconfig"
-install="$pkgname.pre-install"
+install="$pkgname.pre-install $pkgname.pre-upgrade"
pkggroups="abuild"
arch="all"
license=GPL-2
diff --git a/main/abuild/abuild.pre-upgrade b/main/abuild/abuild.pre-upgrade
new file mode 120000
index 000000000..99e4a2144
--- /dev/null
+++ b/main/abuild/abuild.pre-upgrade
@@ -0,0 +1 @@
+abuild.pre-install \ No newline at end of file