You are not logged in.
Could someone help me or make a PKGBUILD for bdf2psf? http://packages.debian.org/sid/all/bdf2psf/download It's a .deb file. I started to try to make a PKGBUILD or at least get some of it, but I'm kinda lost on what to do next in the build part of it. Here's what I have so far,
# Maintainer:
pkgname=bdf2psf
pkgver=1.73
pkgrel=1
pkgdesc="font converter to generate console fonts from BDF source fonts"
arch=('any')
url="http://packages.debian.org/sid/bdf2psf"
license=('GPL')
depends=('perl')
makedepends=
install=
source=("http://http.us.debian.org/debian/pool/main/c/console-setup/bdf2psf_1.73_all.deb")
md5sums=
build() {
bsdtar -xf bdf2psf_1.73_all.deb data.tar.gz && tar xvf data.tar.gz
}Or maybe it could be done with deb2targz, something like
# Maintainer:
pkgname=bdf2psf
pkgver=1.73
pkgrel=1
pkgdesc="font converter to generate console fonts from BDF source fonts"
arch=('any')
url="http://packages.debian.org/sid/bdf2psf"
license=('GPL')
depends=('perl')
makedepends=('deb2targz')
install=
source=("http://http.us.debian.org/debian/pool/main/c/console-setup/bdf2psf_1.73_all.deb")
md5sums=
build() {
deb2targz bdf2psf_1.73_all.deb
tar -zxf bdf2psf_1.73_all.tar.gz
}Thanks
Last edited by stlarch (2011-10-03 05:19:33)
Offline
Your first example is better... no need for an extra makedep when bsdtar will tear it apart for you...
pkgname=bdf2psf
pkgver=1.73
pkgrel=1
pkgdesc="font converter to generate console fonts from BDF source fonts"
arch=('any')
url="http://packages.debian.org/sid/bdf2psf"
license=('GPL2')
depends=('perl')
source=("http://http.us.debian.org/debian/pool/main/c/console-setup/${pkgname}_${pkgver}_all.deb")
md5sums=('af8149de77fecd01ae5b174e065cf801')
package() {
bsdtar -C "$pkgdir" -xvf data.tar.gz
}Offline
Thanks dude, you're awesome. I have to leave now, but I'll try it out later when I get home and put it in the aur.
edit: https://aur.archlinux.org/packages.php?ID=52888
Last edited by stlarch (2011-10-03 05:20:35)
Offline