FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 06-30-2010, 09:47 PM
Victor Lowther
 
Default Add a PKGBUILD for building initscripts-git for testing.

This builds straight out of a git checkout.
---
PKGBUILD | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)

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
+}
--
1.7.1
 
Old 07-16-2010, 12:06 PM
Thomas Bächler
 
Default Add a PKGBUILD for building initscripts-git for testing.

Am 30.06.2010 23:47, schrieb Victor Lowther:
> This builds straight out of a git checkout.
> ---
> PKGBUILD | 23 +++++++++++++++++++++++
> 1 files changed, 23 insertions(+), 0 deletions(-)
>
> 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
> +}

Not necessary IMO, but nice to have. Should come with a .gitignore patch
that adds '*pkg.tar.*'.
 
Old 07-17-2010, 06:00 PM
Jan Steffens
 
Default Add a PKGBUILD for building initscripts-git for testing.

pkgrel=$(git rev-parse --short HEAD)

much simpler.

On Wed, Jun 30, 2010 at 11:47 PM, Victor Lowther
<victor.lowther@gmail.com> wrote:
> This builds straight out of a git checkout.
> ---
> *PKGBUILD | * 23 +++++++++++++++++++++++
> *1 files changed, 23 insertions(+), 0 deletions(-)
>
> 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
> +}
> --
> 1.7.1
>
>
 

Thread Tools




All times are GMT. The time now is 12:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org