You are not logged in.

#1 2013-04-19 23:15:15

jacoton
Member
Registered: 2013-04-19
Posts: 1

My PKGBUILD doesn't work

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

#2 2013-04-19 23:43:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: My PKGBUILD doesn't work

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

#3 2013-04-20 08:34:53

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: My PKGBUILD doesn't work

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 this

All the best,

-HG

Offline

#4 2013-04-20 10:45:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: My PKGBUILD doesn't work

As mentioned, please don't hijack threads: https://wiki.archlinux.org/index.php/Fo … _Hijacking

Splitting and moving to Newbie Corner...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB