summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2010-06-27 17:34:35 -0500
committerVictor Lowther <victor.lowther@gmail.com>2010-07-23 15:57:07 -0500
commitdc2eab4ef09c216deac86cb68b6834d8306ae545 (patch)
treec8aab4659a259928c669cfb7cf96a4dd9a1587b5
parenta334b36b987cd0b2955108399f558f964be56565 (diff)
Add a PKGBUILD for building initscripts-git for testing.
This builds straight out of a git checkout. Add generated packages to .gitignore
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD23
2 files changed, 24 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index da080cc..48f20c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
minilogd
+*.pkg.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..79b3403
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=initscripts-git
+pkgver=$(date +%s)
+pkgrel=$(git log --pretty=format:%h |head -n 1)
+pkgdesc="System initialization/bootup scripts"
+arch=('i686' 'x86_64')
+url="http://www.archlinux.org"
+license=('GPL')
+groups=('base')
+conflicts=('initscripts')
+provides=('initscripts=9999')
+backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown)
+depends=('glibc' 'bash' 'awk' 'grep' 'coreutils' 'sed' 'udev>=139-1'
+ 'net-tools' 'ncurses' 'kbd' 'findutils' 'sysvinit')
+optdepends=('bridge-utils: Network bridging support'
+ 'dhcpcd: DHCP network configuration'
+ 'wireless_tools: Wireless networking')
+source=()
+sha256sums=()
+
+build() {
+ cd ..
+ DESTDIR=${pkgdir} ./install.sh
+}