diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | 98-serialcable.rules | 1 | ||||
-rw-r--r-- | PKGBUILD | 6 |
3 files changed, 4 insertions, 4 deletions
@@ -10,7 +10,6 @@ pkgbase = bullycpp-git makedepends = make makedepends = gcc depends = qt5-serialport - depends = qt5-base provides = BullyCPP source = bullycpp::git+https://github.com/thirtythreeforty/bullycpp.git md5sums = SKIP diff --git a/98-serialcable.rules b/98-serialcable.rules new file mode 100644 index 000000000000..7f8c42b40ea6 --- /dev/null +++ b/98-serialcable.rules @@ -0,0 +1 @@ +SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="users", MODE="0666" @@ -8,7 +8,7 @@ pkgdesc="A driver for the Bully Bootloader for the PIC24 and dsPIC33 series of m arch=('i686' 'x86_64') url="https://github.com/thirtythreeforty/bullycpp" license=('GPL3') -depends=('qt5-serialport' 'qt5-base') +depends=('qt5-serialport') makedepends=('git' 'make' 'gcc') provides=('BullyCPP') source=("$_pkgname::git+https://github.com/thirtythreeforty/${_pkgname}.git") @@ -21,7 +21,6 @@ prepare() { pkgver() { cd "${_pkgname}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' - } build() { @@ -33,8 +32,9 @@ build() { package() { cd build make PREFIX=/usr INSTALL_ROOT="$pkgdir" install - install -D -m644 ../bullycpp/LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" + install -D -m644 ../bullycpp/LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" + install -D -m644 ../../98-serialcable.rules "$pkgdir"/etc/udev/rules.d/98-serialcable.rules } # vim: set ts=2 sw=2 et: |