diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-01 12:02:56 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-01 12:02:56 +0100 |
commit | 173067d06723799eebb72a6a903a739833336425 (patch) | |
tree | 801d42d0af5f1e0d4d70119022151966a8c39114 /~mtjm | |
parent | fa6b3bb7276a98f23b39be618bd930dc478ac13d (diff) |
Package debootstrap from Trisquel, not building since it needs root priviledges.
Diffstat (limited to '~mtjm')
-rw-r--r-- | ~mtjm/debootstrap/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/~mtjm/debootstrap/PKGBUILD b/~mtjm/debootstrap/PKGBUILD new file mode 100644 index 000000000..8da48c3a0 --- /dev/null +++ b/~mtjm/debootstrap/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Michał Masłowski <mtjm@mtjm.eu> + +pkgname=debootstrap +_version=1.0.29 +_ubuntu=1 +_trisquel=5.0 +_trisquelrev=2 +pkgver=$_version.$_ubuntu.$_trisquel.$_trisquelrev +pkgrel=1 +pkgdesc="Bootstrap a basic Trisquel system" +arch=('any') +url="http://packages.trisquel.info/source/dagda/debootstrap" +license=('custom') +depends=('sh') +makedepends=('makedev') +backup=() +source=("http://archive.trisquel.info/trisquel/pool/main/d/debootstrap/debootstrap_${_version}ubuntu${_ubuntu}+${_trisquel}trisquel${_trisquelrev}.tar.gz") +md5sums=('22f8ddf5e11153c6fae8309a579e3376') + +package() { + cd "$srcdir/source" + sed -i 's;MAKEDEV := /sbin/MAKEDEV;MAKEDEV := /usr/sbin/MAKEDEV;' Makefile # fix Arch compatibility + sed -i 's; consoleonly;;' Makefile # doesn't work, not sure why + make all # not in build, since it needs root priviledges + make DESTDIR="$pkgdir/" install + install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname" + install -m644 debian/copyright "${pkgdir}/usr/share/licenses/$pkgname" +} + +# vim:set ts=2 sw=2 et: |