diff options
author | Uffe Jakobsen | 2018-02-25 03:41:21 +0100 |
---|---|---|
committer | Uffe Jakobsen | 2018-02-25 03:41:21 +0100 |
commit | fa31881f75df82d8b051217187948492a5f46735 (patch) | |
tree | 2d325e714fad7cbd534c4d7f01c92556f7f8a0a9 | |
parent | ea91625d902f59e97f0db3e9631bc52e4ef6084a (diff) | |
download | aur-fa31881f75df82d8b051217187948492a5f46735.tar.gz |
Update - switch repo
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 11 insertions, 11 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sun Feb 25 02:22:32 UTC 2018 +# Sun Feb 25 02:40:34 UTC 2018 pkgbase = opencbm-git pkgdesc = OpenCBM allows access to Commodore (C64) storage devices VIC 1540, 1541, 1570, 1571, or even 1581 floppy drive pkgver = r1249.19c0d53 @@ -12,7 +12,7 @@ pkgbase = opencbm-git depends = ncurses depends = libusb depends = libusb-compat - source = git+http://git.code.sf.net/p/opencbm/code + source = git+https://github.com/OpenCBM/OpenCBM.git md5sums = SKIP pkgname = opencbm-git @@ -5,13 +5,11 @@ # Maintainer: Uffe Jakobsen <microtop@starion.dk> # pkgname=opencbm-git -pkgver=r1249.19c0d53 +pkgver=r1250.25a5f89 pkgrel=1 epoch= pkgdesc="OpenCBM allows access to Commodore (C64) storage devices VIC 1540, 1541, 1570, 1571, or even 1581 floppy drive" arch=('i686' 'x86_64') -_pkgname=opencbm -_pkgver=trunk url="http://sourceforge.net/projects/opencbm/" license=('GPL2') groups=() @@ -27,19 +25,21 @@ options=() install= changelog= noextract=() -source=(git+http://git.code.sf.net/p/opencbm/code) +_repodirname=OpenCBM +#source=(git+http://git.code.sf.net/p/opencbm/code) +source=(git+https://github.com/OpenCBM/OpenCBM.git) md5sums=('SKIP') build_kernel_module= pkgver() { - cd "${srcdir}/code" + cd "${srcdir}/${_repodirname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { - cd "${srcdir}/code" + cd "${srcdir}/${_repodirname}" # kernel module: add includes to kernel module source sed -i '\!#include <asm/uaccess.h>!s!.*!&\n#include <linux/uaccess.h>\n#include <linux/sched/signal.h>!' opencbm/sys/linux/cbm_module.c # kernel module: Makefile is needed later @@ -47,7 +47,7 @@ prepare() { } build() { - cd "${srcdir}/code" + cd "${srcdir}/${_repodirname}" CC65_HOME="/usr/share/cc65" export CC65_HOME #make -f LINUX/Makefile opencbm plugin @@ -60,11 +60,11 @@ build() { } check() { - cd "${srcdir}/code" + cd "${srcdir}/${_repodirname}" } package() { - cd "${srcdir}/code" + cd "${srcdir}/${_repodirname}" mkdir -p "${pkgdir}/etc/udev/rules.d" make -f LINUX/Makefile PREFIX="/usr" MANDIR="/usr/share/man/man1" INFODIR="/usr/share/info" DESTDIR="${pkgdir}/" install install-plugin-xum1541 install-plugin-xu1541 mv "${pkgdir}/etc/opencbm.conf" "${pkgdir}/etc/opencbm.conf.sample" |