Initial commit

This commit is contained in:
2022-08-28 14:42:33 -07:00
commit 22f2736edd
7 changed files with 224 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname=exword_tools
pkgver=1
pkgrel=1
pkgdesc='Cross platform implementation of TextLoader and CasioLibrary using libexword'
url='https://github.com/brijohn/exword_tools'
arch=('x86_64')
license=('UNKNOWN')
depends=('wxgtk3' 'libexword')
makedepends=('autoconf' 'automake' 'git' 'make')
source=('git+https://github.com/brijohn/exword_tools.git')
sha256sums=('SKIP')
pkgver(){
cd "$pkgname"
git rev-list --count HEAD
}
build() {
cd "$pkgname"
./autogen.sh
./configure --prefix="$pkgdir/usr"
}
package() {
cd "$pkgname"
make install
install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README"
}

View File

@ -0,0 +1 @@
SUBSYSTEM=="usb",ATTR{idVendor}=="07cf",ATTR{idProduct}=="6101",MODE="0666"

View File

@ -0,0 +1,35 @@
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname=libexword-re
pkgver=96
pkgrel=1
pkgdesc='A more friendly fork of libexword, a library for transfering files over USB to casio EX-word electronic dictionaries'
url='https://github.com/CaesarW/libexword-re.git'
arch=('x86_64')
license=('GPL3')
depends=('libusb' 'readline' 'glib2')
makedepends=('cmake' 'libtool' 'git' 'make')
source=('git+https://github.com/CaesarW/libexword-re.git'
'40-exword.rules')
sha256sums=('SKIP'
'6d81bb6836b00ac0e31813a540490e776fa2133d6932e70307c0eec140ce56ae')
pkgver(){
cd "$pkgname"
git rev-list --count HEAD
}
build() {
cd "$pkgname"
cmake -B build -S src
make -C build
}
package() {
cd "$pkgname"
install -m755 -D build/exword "$pkgdir/usr/bin/exword"
install -m644 -D ../40-exword.rules "$pkgdir/etc/udev/rules.d/40-exword.rules"
install -m644 -D README.md "$pkgdir/usr/share/doc/$pkgname/README"
install -m644 -D docs/models.md "$pkgdir/usr/share/doc/$pkgname/models.md"
install -m644 -D docs/protocol.md "$pkgdir/usr/share/doc/$pkgname/protocol.md"
}

View File

@ -0,0 +1 @@
SUBSYSTEM=="usb",ATTR{idVendor}=="07cf",ATTR{idProduct}=="6101",MODE="0666"

34
Arch/libexword/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname=libexword
pkgver=84
pkgrel=1
pkgdesc='Library for transfering files over USB to casio EX-word electronic dictionaries'
url='https://github.com/brijohn/libexword/tree/2.0-dev'
arch=('x86_64')
license=('UNKNOWN')
#depends=('')
makedepends=('autoconf' 'automake' 'git' 'make')
source=('git+https://github.com/brijohn/libexword.git'
'40-exword.rules')
sha256sums=('SKIP'
'6d81bb6836b00ac0e31813a540490e776fa2133d6932e70307c0eec140ce56ae')
pkgver(){
cd "$pkgname"
git rev-list --count HEAD
}
build() {
cd "$pkgname"
git checkout 2.0-dev
./autogen.sh
./configure --prefix="$pkgdir/usr"
}
package() {
cd "$pkgname"
make install
install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README"
install -m644 -D ../40-exword.rules "$pkgdir/etc/udev/rules.d/40-exword.rules"
}