diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-06 03:47:37 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-06 03:47:37 (GMT) |
commit | 939317a53e3cba331040f54d3600c8aa72ff7a11 (patch) | |
tree | 8496a582565e948404429da6d6b7256f931607fc /abs/extra/dcraw/PKGBUILD | |
parent | c84f5745997b2d42062143a23c718c56e7551452 (diff) | |
download | linhes_pkgbuild-939317a53e3cba331040f54d3600c8aa72ff7a11.zip linhes_pkgbuild-939317a53e3cba331040f54d3600c8aa72ff7a11.tar.gz linhes_pkgbuild-939317a53e3cba331040f54d3600c8aa72ff7a11.tar.bz2 |
dcraw: initial include
Diffstat (limited to 'abs/extra/dcraw/PKGBUILD')
-rw-r--r-- | abs/extra/dcraw/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/dcraw/PKGBUILD b/abs/extra/dcraw/PKGBUILD new file mode 100644 index 0000000..8468c92 --- /dev/null +++ b/abs/extra/dcraw/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 84664 2010-07-03 05:41:46Z allan $ +# Maintainer: tobias <tobias@archlinux.org> +# Contributor: Tobias Kieslich <tobias@justdreams.de> + +# Note for rebuilders: +# dcraw.c is released as pure C file, not as a package with a changing version +# number in the name. The name of the file to be downloaded is always the same! +# So if you are a bad boy (Santa knows everything!) and build as root, this file +# will be saved in /var/cache/pacman/src . Therefore, rebuilding a later version +# likely will fail due to an MD5 error. If so, delete the files from the cache +# to force a new download. + +pkgname=dcraw +pkgver=1.438 +pkgrel=1 +pkgdesc="A command line based converter for digicams raw output" +arch=('i686' 'x86_64') +url="http://www.cybercom.net/~dcoffin/dcraw/" +license=('custom') +depends=('lcms') +source=(http://www.cybercom.net/~dcoffin/${pkgname}/${pkgname}.c + http://www.cybercom.net/~dcoffin/${pkgname}/${pkgname}.1 + license.txt) + +build() { + cd "${srcdir}" + gcc -o dcraw ${CFLAGS} dcraw.c -lm -ljpeg -llcms +} + +package() { + cd "${srcdir}" + install -Dm755 ${pkgname} "${pkgdir}"/usr/bin/${pkgname} + + # install a manpage, provided separately on authors homepage + install -Dm644 ${pkgname}.1 "${pkgdir}"/usr/share/man/man1/${pkgname}.1 + + install -Dm644 license.txt "${pkgdir}"/usr/share/licenses/${pkgname}/license.txt +} +md5sums=('108f0c14a5be4d092c7ffa8460044fb3' + '6ba2a797c4ad698589f83171d6b36396' + '110b4604a6dacd5537339c4082e9e12a') |