summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 17:59:32 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 17:59:32 (GMT)
commitea26ba87276362ba1e99ececcb9e802ab2bd8776 (patch)
treeb85445ad7838c60b1039d7e50b64233d004e6a68
parentaaa60a5ad49333b4d324a335b2169592147bf7a3 (diff)
downloadlinhes_pkgbuild-ea26ba87276362ba1e99ececcb9e802ab2bd8776.zip
linhes_pkgbuild-ea26ba87276362ba1e99ececcb9e802ab2bd8776.tar.gz
linhes_pkgbuild-ea26ba87276362ba1e99ececcb9e802ab2bd8776.tar.bz2
adding abs
-rw-r--r--abs/chroot-devel-testing/abs/ChangeLog35
-rw-r--r--abs/chroot-devel-testing/abs/PKGBUILD33
-rw-r--r--abs/chroot-devel-testing/abs/abs.install15
3 files changed, 83 insertions, 0 deletions
diff --git a/abs/chroot-devel-testing/abs/ChangeLog b/abs/chroot-devel-testing/abs/ChangeLog
new file mode 100644
index 0000000..c33bcff
--- /dev/null
+++ b/abs/chroot-devel-testing/abs/ChangeLog
@@ -0,0 +1,35 @@
+2008-08-10 Allan McRae <allan@archlinux.org>
+
+ * 2.2-1
+ Upstream update
+ - adds ability to select which repos/packages
+ sync on commandline
+ - additional PKGBUILD and install script prototypes
+
+2008-04-19 Travis Willard <travis@archlinux.org>
+
+ * 2.1-1
+ Upstream update - re-adds support for community
+
+2008-04-19 Travis Willard <travis@archlinux.org>
+
+ * 2.0-4
+ Added install warning about /var/abs
+
+2008-04-15 Travis Willard <travis@archlinux.org>
+
+ * 2.0-3
+ Added install message
+ Moved abs.conf to /etc instead of /etc/abs
+
+2008-04-13 Travis Willard <travis@archlinux.org>
+
+ * 2.0-2
+ Moved rsyncd.conf.abs to /usr/share/abs
+ Made rsync server configurable
+
+2008-04-10 Travis Willard <travis@archlinux.org>
+
+ * 2.0-1
+ Added ChangeLog
+ New rsync-based release
diff --git a/abs/chroot-devel-testing/abs/PKGBUILD b/abs/chroot-devel-testing/abs/PKGBUILD
new file mode 100644
index 0000000..e38c9e9
--- /dev/null
+++ b/abs/chroot-devel-testing/abs/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 8218 2008-08-09 14:48:26Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+
+pkgname=abs
+pkgver=2.2
+pkgrel=1
+pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
+arch=('i686' 'x86_64')
+url="http://projects.archlinux.org/git/?p=abs.git"
+license=('GPL')
+depends=('bash' 'rsync')
+backup=(etc/abs.conf)
+install=abs.install
+source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz)
+md5sums=('281f7def0b18d1545438290fcbf26db3')
+
+build() {
+ cd ${srcdir}/${pkgname}
+
+ make CONFDIR=/etc/ || return 1
+ make CONFDIR=/etc/ DESTDIR=${pkgdir} install || return 1
+
+ # Add readme file, and make base /var/abs path
+ install -dm0755 ${pkgdir}/var/abs/local/
+ install -Dm0644 ${srcdir}/abs/README ${pkgdir}/var/abs/README
+
+ # change ABS tags for x86_64 to correct values
+ if [ "$CARCH" = "x86_64" ]; then
+ sed -i "s|i686|x86_64|g" ${pkgdir}/etc/abs.conf
+ fi
+}
+
+# vim: set ts=2 sw=2 noet:
diff --git a/abs/chroot-devel-testing/abs/abs.install b/abs/chroot-devel-testing/abs/abs.install
new file mode 100644
index 0000000..1b19b4a
--- /dev/null
+++ b/abs/chroot-devel-testing/abs/abs.install
@@ -0,0 +1,15 @@
+## arg 1: the new package version
+## arg 2: the old package version
+pre_upgrade() {
+ if [ "$(vercmp $2 2.0-1)" -lt 0 ]; then
+ echo "==> ABS now uses rsync, instead of cvsup, to synchronize your tree."
+ echo "==> Please note the new configuration in /etc/abs.conf"
+ fi
+
+ if [ "$(vercmp $2 2.0-4)" -lt 0 ]; then
+ echo "==> Warning: abs clears out the contents of /var/abs when syncing."
+ echo "==> Keep all local PKGBUILDs in /var/abs/local, or they will disappear"
+ fi
+}
+
+# vim:set ts=2 sw=2 et: