blob: d9dc37b6586e001e9999cc9db10f8e6d449edc55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# @Author: Jules <archjules>
# @Date: 2016-07-10T23:16:42+02:00
# @Last modified by: archjules
# @Last modified time: 2016-07-10T23:57:51+02:00
pkgname='casiousb-git'
pkgver=V0.0.2.r1.gd3663fb
pkgrel=1
pkgdesc='A program allowing you to send files to your Casio graphical calculator'
arch=('i686' 'x86_64')
depends=('libusb')
source=('git+https://github.com/nessotrin/CasioUsb')
md5sums=('SKIP')
pkgver() {
cd CasioUsb;
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd CasioUsb;
make;
}
package() {
mkdir -p "$pkgdir/usr/bin"
cp CasioUsb/CasioUsbUploader/build/CasioUsbUploader "$pkgdir/usr/bin/casiousb"
}
|