diff options
Diffstat (limited to '~mtjm')
-rw-r--r-- | ~mtjm/debootstrap/PKGBUILD | 30 | ||||
-rw-r--r-- | ~mtjm/h-client/PKGBUILD | 30 |
2 files changed, 30 insertions, 30 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: diff --git a/~mtjm/h-client/PKGBUILD b/~mtjm/h-client/PKGBUILD deleted file mode 100644 index 4df7f5f28..000000000 --- a/~mtjm/h-client/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Michał Masłowski <mtjm@mtjm.eu> - -pkgname=h-client -_pkgver=0.0a0.dev-r80 -pkgver=${_pkgver/-/.} -pkgrel=1 -pkgdesc="A client for an h-source server (such as http://www.h-node.com)" -arch=('any') -url="https://savannah.nongnu.org/projects/h-client/" -license=('GPL3') -depends=('python2' 'python2-distribute' 'python-pycurl' 'pygtk') -options=(!emptydirs) -# Official source is in SVN, this is made by "python2 setup.py sdist". -source=("http://mtjm.eu/releases/hclient-${_pkgver}.tar.gz") -sha512sums=('d148084be40aa741f012ba49285ea428b4d6c032a015f732e1a7987f8125acd04a033df97e4536cc9587a3535f701305e4d44f641479e99d0e49a0da652abf2a') - -check() { - cd "$srcdir/hclient-${_pkgver}" - python2 setup.py test -} - -package() { - cd "$srcdir/hclient-${_pkgver}" - # Remove tests, they aren't useful after installation. - rm -rf {,build/lib/}tests_hclient - rm -rf {,build/lib/}hclient.egg-info - python2 setup.py install --root="$pkgdir/" --optimize=1 -} - -# vim:set ts=2 sw=2 et: |