Re: [arch-general] [PATCH 43/48] Add a PKGBUILD for building initscripts-git for testing.
On Fri, 2010-07-16 at 14:06 +0200, Thomas Bächler wrote: 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 000..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=') +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.*'. It is nice to have -- being able to makepkg sudo pacman -U inits*.tar.* sure does make it easier to test things. Why do you think a .gitignore patch is needed? Unless someone does something silly like adding the tarball to the git repo git will ignore it anyways. -- Victor Lowther LPIC2 UCP RHCE
Re: [arch-general] [PATCH 43/48] Add a PKGBUILD for building initscripts-git for testing.
On Sat, 2010-07-17 at 16:34 +0200, Thomas Bächler wrote: Am 17.07.2010 16:13, schrieb Victor Lowther: Why do you think a .gitignore patch is needed? Unless someone does something silly like adding the tarball to the git repo git will ignore it anyways. You want to keep git status clean, especially with __git_ps1. If there is nothing changed/to commit, I want to see a clean git status output. Huh. I guess I have never used git status before. -- Victor Lowther LPIC2 UCP RHCE
Re: [arch-general] [PATCH 43/48] 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.lowt...@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 000..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=') +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
Re: [arch-general] [PATCH 43/48] 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 000..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=') +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.*'. signature.asc Description: OpenPGP digital signature