Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
logsys-arch-pkg
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bence98
logsys-arch-pkg
Commits
d35a5735
Commit
d35a5735
authored
Nov 15, 2018
by
Bence Csókás
Browse files
Options
Downloads
Patches
Plain Diff
Quick&dirty PKGBUILD
parents
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
PKGBUILD
+24
-0
24 additions, 0 deletions
PKGBUILD
archlin-install-hooks
+18
-0
18 additions, 0 deletions
archlin-install-hooks
with
42 additions
and
0 deletions
PKGBUILD
0 → 100644
+
24
−
0
View file @
d35a5735
# Maintainer: Bence Csókás <bence98&sch.bme.hu>
pkgname
=
logsys-drv
pkgver
=
0_rc1
pkgrel
=
1
pkgdesc
=
'A driver for the LOGSYS development cable'
url
=
'http://users.hszk.bme.hu/~cb1719/xil-lin.php'
install
=
'archlin-install-hooks'
source
=(
"
$pkgname
-
$pkgver
::git+https://github.com/bence98/Logsys-LibUSB-Driver.git#branch=legacy"
)
depends
=(
'libusb>=1.0.21'
)
makedepends
=(
'pkg-config'
)
options
=(
'!strip'
)
arch
=(
"
$CARCH
"
)
md5sums
=(
'SKIP'
)
prepare
(){
cd
"
$pkgname
-
$pkgver
"
git submodule init
git submodule update
}
package
(){
cd
"
$pkgname
-
$pkgver
"
make
DESTDIR
=
"
$pkgdir
/"
prep-pkg
}
This diff is collapsed.
Click to expand it.
archlin-install-hooks
0 → 100755
+
18
−
0
View file @
d35a5735
#!/bin/sh
post_install
(){
set
-e
ldconfig /usr/local/lib
udevadm control
--reload
}
post_upgrade
(){
set
-e
ldconfig /usr/local/lib
udevadm control
--reload
}
post_remove
(){
set
-e
ldconfig /usr/local/lib
udevadm control
--reload
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment