Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/PKGBUILD b/PKGBUILD
- index c743557..1f36d5f 100644
- --- a/PKGBUILD
- +++ b/PKGBUILD
- @@ -1,7 +1,8 @@
- # Maintainer: Gabriel-Andrew Pollo-Guilbert <gabrielpolloguilbert@gmail.com>
- pkgname=libpcanbasic
- -pkgver=4.2.2
- +_pkgname=PCAN-Basic_Linux
- +pkgver=4.3.1
- pkgrel=1
- pkgdesc='API for the development of applications with PEAK CAN connection for Linux '
- arch=('x86_64')
- @@ -9,15 +10,12 @@ url='https://www.peak-system.com/PCAN-USB.199.0.html'
- license=('LGPL')
- depends=('peak-linux-headers')
- source=(
- - "https://www.peak-system.com/produktcd/Develop/PC%20interfaces/Linux/PCAN-Basic_API_for_Linux/PCAN_Basic_Linux-${pkgver}.tar.gz"
- + "https://www.peak-system.com/produktcd/Develop/PC%20interfaces/Linux/PCAN-Basic_API_for_Linux/${_pkgname}-${pkgver}.tar.gz"
- )
- -sha256sums=(
- - "95b1916a28f9dd02d2840da8369558a7e5a3a977b9e9f1046ff67616dcc8977b"
- -)
- -
- +sha256sums=('b88f5a73ebe6a52a58f005ae4a205c937ed317445a95de58b6872af69f1f9524')
- prepare() {
- # go into source directory
- - cd "PCAN_Basic_Linux-${pkgver}/pcanbasic"
- + cd "${_pkgname}-${pkgver}/libpcanbasic/pcanbasic"
- # add new install target into the makefile
- echo -e '' >> 'Makefile_latest.mk'
- @@ -32,7 +30,7 @@ prepare() {
- build() {
- # go into source directory
- - cd "PCAN_Basic_Linux-${pkgver}/pcanbasic"
- + cd "${_pkgname}-${pkgver}/libpcanbasic/pcanbasic"
- # build libpcanbasic
- make clean
- @@ -41,7 +39,7 @@ build() {
- package() {
- # go into source directory
- - cd "PCAN_Basic_Linux-${pkgver}/pcanbasic"
- + cd "${_pkgname}-${pkgver}/libpcanbasic/pcanbasic"
- # create directories
- install -d "${pkgdir}/usr/lib"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement