mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
epsoneplijs: moved to desktop
This commit is contained in:
parent
318c5f839c
commit
4a22007d5c
15
epsoneplijs/LICENSE
Normal file
15
epsoneplijs/LICENSE
Normal file
@ -0,0 +1,15 @@
|
||||
License
|
||||
=======
|
||||
The ijs-derived part follows the same licence as ijs. The rest of the code
|
||||
is under the GNU public license, except "epl_compress.c".
|
||||
|
||||
As of version 0.2.3, the usb branch has merged back to the main branch,
|
||||
and we no longer bundle libusb as a sub-directory within the source bundle.
|
||||
The src rpm still includes a libusb tar ball and recreates a sub-directory
|
||||
during rpm building, for convenience.
|
||||
|
||||
The content of "epl_compress.c" may have issues with Epson which we are
|
||||
not yet sure about. Therefore we hereby explicitly ask whoever uses the
|
||||
content of that file, NOT to use it for any purpose other than in relation
|
||||
to the Epson EPL series of printers.
|
||||
|
38
epsoneplijs/PKGBUILD
Normal file
38
epsoneplijs/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
pkgname=epsoneplijs
|
||||
pkgver=0.4.1
|
||||
pkgrel=5
|
||||
pkgdesc="Printer driver which gives ghostscript the ability to print to Epson EPL-5700L, EPL-5800L, EPL-5900L, EPL-6100L and EPL-6200L laser printers."
|
||||
arch=(i686 x86_64)
|
||||
license=('custom')
|
||||
url="http://sourceforge.net/projects/epsonepl/"
|
||||
depends=('cups' 'ghostscript' 'libusb' 'cups-filters')
|
||||
source=(http://downloads.sourceforge.net/project/epsonepl/epsonepl/${pkgver}/${pkgname}-${pkgver}.tgz LICENSE)
|
||||
md5sums=('0840e15c6a96584138d9a1045c16997d'
|
||||
'13d64edc89b1551e4c88be3b21d4a39a')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
./configure --prefix=/usr --with-libusb
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
make prefix=$pkgdir/usr install
|
||||
|
||||
# install ppd
|
||||
mkdir -p $pkgdir/usr/share/foomatic/db/source/driver/
|
||||
cp $srcdir/$pkgname-$pkgver/foomatic/driver/*.* $pkgdir/usr/share/foomatic/db/source/driver/
|
||||
mkdir -p $pkgdir/usr/share/foomatic/db/source/opt/
|
||||
cp $srcdir/$pkgname-$pkgver/foomatic/opt/*.* $pkgdir/usr/share/foomatic/db/source/opt/
|
||||
mkdir -p $pkgdir/usr/share/foomatic/db/source/printer/
|
||||
cp $srcdir/$pkgname-$pkgver/foomatic/printer/312297.xml $pkgdir/usr/share/foomatic/db/source/printer/
|
||||
mkdir -p $pkgdir/usr/share/foomatic/db/source/PPD/Epson/
|
||||
cp $srcdir/$pkgname-$pkgver/foomatic_PPDs/Epson-EPL-*-cups.ppd.gz $pkgdir/usr/share/foomatic/db/source/PPD/Epson/
|
||||
mkdir -p $pkgdir/usr/share/cups/model/
|
||||
cp -av $srcdir/$pkgname-$pkgver/foomatic_PPDs/Epson-EPL-*-cups.ppd.gz $pkgdir/usr/share/cups/model/
|
||||
|
||||
# install license
|
||||
install -Dm644 ${srcdir}/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user