-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
33 lines (30 loc) · 862 Bytes
/
PKGBUILD
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
31
32
33
# Maintainer: jmcb <[email protected]>
pkgname=xfer9860
pkgver=0.2.2
pkgrel=2
pkgdesc=" A linux app for sending and recieving data from a casio calculator"
arch=('x86_64')
url="https://github.com/sanjay900/xfer9860"
license=('GPL2')
depends=('libusb')
makedepends=('scons')
checkdepends=()
optdepends=()
provides=()
conflicts=()
source=("https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
"$pkgname-$pkgver.patch")
sha256sums=('bc245995a6987fe4706144b4e95af6391d94d82e226ca2bf3d799b9ec733d7ac'
'199532c548b0e123b9db9d866c1d0bcdd3af5fbd9b2db498a454ec202a07faa6')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}
build() {
cd "$pkgname-$pkgver"
scons
}
package() {
cd "$pkgname-$pkgver"
install -D "src/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}