You are not logged in.
Pages: 1
Hi, I've been trying to make a PKGBUILD file for a rpm printer driver by following an example of something similar on (http://nemrod.se/guides/install-rpm-pac … rch-linux/) , I changed the md5 and relevant details but when i try "makepkg" I get
==> Making package: epson-workforce-520-driver current-1 (Fri Apr 19 15:02:57 EDT 2013)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized.
==> Retrieving sources...
-> Found epson-inkjet-printer-workforce-525-1.0.0-1lsb3.2.src.rpm
==> Validating source files with md5sums...
epson-inkjet-printer-workforce-525-1.0.0-1lsb3.2.src.rpm ... Passed
==> Extracting sources...
-> Extracting epson-inkjet-printer-workforce-525-1.0.0-1lsb3.2.src.rpm with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
no package supplied
==> ERROR: A failure occurred in build().
Aborting...
my PKGBUILD is as folows
# Maintainer: John Renshaw <johnsrenshaw@gmail.com>
pkgname=epson-workforce-520-driver
pkgver=current
pkgrel=1
pkgdesc="hopefully this will make my printer work."
arch=('x86_64')
license=('unknown')
##depends=('libidn')
makedepends=('rpmextract')
##options=('emptydirs')
source=("http://download.ebz.epson.net/dsc/op/stable/SRPMS/epson-inkjet-printer-workforce-525-1.0.0-1lsb3.2.src.rpm ")
md5sums=('2b48a4c7540893da06c99597376a955e')
build() {
rpmextract.sh epson-inkjet-printer-workforce-525-1.0.0-1lsb3.2.src.rpm
}
Last edited by jacoton (2013-04-19 23:15:56)
Offline
jacoton, first off, hijacking another's thread is bad form.
Second, did you even read the thread? rpmextract is not needed, and you haven't installed anything to $pkgdir, so there's no package to be made.
Offline
Also, there's not even a package() function in that PKGBUILD, so it won't do anything. On a related note, please use code tags
like thisAll the best,
-HG
Offline
As mentioned, please don't hijack threads: https://wiki.archlinux.org/index.php/Fo … _Hijacking
Splitting and moving to Newbie Corner...
Offline
Pages: 1