diff options
author | felics | 2018-06-25 20:22:14 +0200 |
---|---|---|
committer | felics | 2018-06-25 20:22:14 +0200 |
commit | 9fa9e89a54a019a96a68ac99900336e68ba00578 (patch) | |
tree | b6e66a00c286354d272a618a742d37bb4437dbe3 | |
parent | 570166c6f57418bf5f930092024a41445ea1b35b (diff) | |
download | aur-9fa9e89a54a019a96a68ac99900336e68ba00578.tar.gz |
Fixed an error where file swhich should be in /usr/bin are in /.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 9 insertions, 17 deletions
@@ -1,7 +1,7 @@ pkgbase = pentaxpj-filter pkgdesc = Printer filter for Pentax PocketJet 200 and PocketJet II printers. Needed in addition to the PPDs/ files that come with foomatic-db/ CUPS. Includes printer documentation. pkgver = 1.0.0 - pkgrel = 4 + pkgrel = 5 epoch = 0 url = http://ww1.pragana.net/gdiprinters.html#pentaxpj install = pentaxpj-filter.install @@ -7,7 +7,7 @@ pkgname="${_pkgname}" epoch=0 _pkgver=1.0.0 pkgver="${_pkgver}" -pkgrel=4 +pkgrel=5 pkgdesc="Printer filter for Pentax PocketJet 200 and PocketJet II printers. Needed in addition to the PPDs/ files that come with foomatic-db/ CUPS. Includes printer documentation." arch=('i686' 'x86_64') url="http://ww1.pragana.net/gdiprinters.html#pentaxpj" @@ -85,7 +85,7 @@ package() { _instdirbase="/opt/${_pkgname}" _instdir="${pkgdir}/${_instdirbase}" _bindirbase="/usr/bin" - _bindir="${pkgdir}/${_execdirbase}" + _bindir="${pkgdir}/${_bindirbase}" _filterdirbase="/usr/lib/cups/filter" _filterdir="${pkgdir}/${_filterdirbase}" _spooldirbase="/var/spool/lpd" @@ -116,26 +116,18 @@ package() { install -v -D -m644 "${srcdir}/${_docfile}" "${_docdir}/${_docfile}" done - ( - cd "${_docdir}" - ln -sv "${_instdirbase}"/test-page.ps.gz . - ) + install -v -d -m755 "${_docdir}" + ln -sv "${_instdirbase}"/test-page.ps.gz "${_docdir}"/test-page.ps.gz install -v -D -m664 pentaxpj.conf.a4 "${_etcdir}"/pentaxpj.conf install -v -d -m755 "${_bindir}" - ( - cd "${_bindir}" - ln -sv "${_instdirbase}"/pentaxpj_sh pentaxpj_sh - ln -sv "${_instdirbase}"/pentaxpj pentaxpj - ln -sv "${_instdirbase}"/pentaxsetup . - ) + ln -sv "${_instdirbase}"/pentaxpj_sh "${_bindir}"/pentaxpj_sh + ln -sv "${_instdirbase}"/pentaxpj "${_bindir}"/pentaxpj + ln -sv "${_instdirbase}"/pentaxsetup "${_bindir}"/pentaxsetup install -v -d -m755 "${_filterdir}" - ( - cd "${_filterdir}" - ln -sv "${_instdirbase}"/pentaxpj_sh pentaxpj_sh - ) + ln -sv "${_instdirbase}"/pentaxpj_sh "${_filterdir}"/pentaxpj_sh install -v -D -m644 license_users-guide_info.txt ${_licensedir}/license_users-guide_info.txt |