Package Details: rollo-printer 1.0-1

Git Clone URL: https://aur.archlinux.org/rollo-printer.git (read-only, click to copy)
Package Base: rollo-printer
Description: Rollo (Beeprt BY-242) USB Printer Driver for Linux
Upstream URL: https://www.rollo.com/driver-linux/
Licenses: custom
Submitter: kennystier61
Maintainer: None
Last Packager: kennystier61
Votes: 1
Popularity: 0.000000
First Submitted: 2022-06-21 15:32 (UTC)
Last Updated: 2022-06-21 15:32 (UTC)

Latest Comments

Alphabyte commented on 2024-11-15 05:03 (UTC)

Here is my attempt at making a updated PKGBUILD

pkgname=rollo-printer
pkgver=1.8.4
pkgrel=1
pkgdesc='Rollo (Beeprt BY-242) USB Printer Driver for Linux'
arch=('x86_64')
url='https://www.rollo.com/driver-linux/'
license=('custom')
depends=('cups')
source=("https://rollo-main.b-cdn.net/driver-dl/linux/rollo-cups-driver_${pkgver}-1_amd64.deb")
sha512sums=('597e5842d422a48651457c349106b35e538564311aac780de8dc282a81e8ca2f7ec976bd3968e6938c87ba9cd43a15c43e9fe2ae9fc8a36ad9e1292bec6c777e')


package() {
  # extract data
  tar xf "${srcdir}"/data.tar.zst

  # install filter
  mkdir -p "${pkgdir}"/usr/lib/cups/filter
  install -m755 "${srcdir}"/usr/lib/cups/filter/rastertorollo "${pkgdir}"/usr/lib/cups/filter

  # install ppd
  mkdir -p "${pkgdir}"/usr/share/cups/model
  install -m644 "${srcdir}"/usr/share/cups/model/rollo-x1038.ppd "${pkgdir}"/usr/share/cups/model

}

Not sure if it complys with the packing standards due to the way I unarchive the data,tar.zst not sure if there is better way to do it or if I need to include tar as a makedepend