summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/abuild/APKBUILD6
-rw-r--r--main/abuild/pkginfo-origin.patch18
2 files changed, 22 insertions, 2 deletions
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index 63e395479..76e12ce4a 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -2,9 +2,10 @@
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=2.7.5
-pkgrel=0
+pkgrel=1
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild.git/snapshot/abuild-$pkgver.tar.bz2
+ pkginfo-origin.patch
"
depends="fakeroot file sudo pax-utils openssl apk-tools>=2.0.7-r1"
makedepends="openssl-dev pkgconfig"
@@ -37,4 +38,5 @@ package() {
install -d -m 775 -g abuild "$pkgdir"/var/cache/distfiles
}
-md5sums="5e3905e5ca7a3ff5e59c286c173851ce abuild-2.7.5.tar.bz2"
+md5sums="5e3905e5ca7a3ff5e59c286c173851ce abuild-2.7.5.tar.bz2
+e5ebd171e985cae1fa0d624cecf06e71 pkginfo-origin.patch"
diff --git a/main/abuild/pkginfo-origin.patch b/main/abuild/pkginfo-origin.patch
new file mode 100644
index 000000000..0175305bc
--- /dev/null
+++ b/main/abuild/pkginfo-origin.patch
@@ -0,0 +1,18 @@
+commit 701be9224ce79189db3f9c3d503cc7d8dfcd108b
+Author: Natanael Copa <ncopa@alpinelinux.org>
+Date: Thu Mar 31 09:49:51 2011 +0000
+
+ abuild: add origin in .PKGINFO
+
+diff --git a/abuild.in b/abuild.in
+index 7240048..7d762cb 100755
+--- a/abuild.in
++++ b/abuild.in
+@@ -521,6 +521,7 @@ builddate = $builddate
+ packager = ${PACKAGER:-"Unknown"}
+ size = $size
+ arch = $parch
++origin = $pkgname
+ EOF
+ local i deps
+ deps="$depends"