Commit 0f54eaef authored by Natanael Copa's avatar Natanael Copa

main/abuild: fix for buildrepo

(cherry picked from commit 70fe84ea)
parent cc3177b1
From 19b2598f8a52ba8af07eb4904788d0843130b094 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 27 Oct 2009 15:24:18 +0000
Subject: [PATCH] Revert "abuild: minor cleanup"
This commit seems to kill the entire repository
This reverts commit 46aed95754ebeb17a3a367b3b41d0b6424fd18d9.
---
buildrepo.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildrepo.in b/buildrepo.in
index d719c34..c211789 100755
--- a/buildrepo.in
+++ b/buildrepo.in
@@ -22,9 +22,9 @@ usage() {
listpackages() {
+ cd "$aportsdir/$1"
for i in */APKBUILD; do
- cd "$aportsdir"/$1/${i%/*}
- abuild listpkg
+ APKBUILD=$i abuild listpkg
done
}
--
1.6.5
......@@ -2,9 +2,10 @@
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=2.0
pkgrel=0
pkgrel=1
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
0001-Revert-abuild-minor-cleanup.patch
"
depends="fakeroot file sudo pax-utils openssl apk-tools"
makedepends="openssl-dev pkgconfig"
......@@ -12,9 +13,12 @@ license=GPL-2
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../0001-Revert-abuild-minor-cleanup.patch || return 1
make
make install DESTDIR="$pkgdir"
install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
}
md5sums="8c915c2d87e12731a8dbee8241653a32 abuild-2.0.tar.bz2"
md5sums="8c915c2d87e12731a8dbee8241653a32 abuild-2.0.tar.bz2
478fa174e76501b2b37c47f2bc491559 0001-Revert-abuild-minor-cleanup.patch"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment