Compare commits
4 Commits
72814fb1bb
...
bb135c4778
Author | SHA1 | Date | |
---|---|---|---|
|
bb135c4778 | ||
|
bff996af54 | ||
|
1095b3cfaf | ||
|
ec0eb91a7e |
@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Dejvino <alarm-packages@dejvino.cz>
|
# Maintainer: Dejvino <alarm-packages@dejvino.cz>
|
||||||
pkgname=d5o-base
|
pkgname=d5o-base
|
||||||
pkgver=2
|
pkgver=3
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Base set of tools."
|
pkgdesc="Base set of tools."
|
||||||
arch=(any)
|
arch=(any)
|
||||||
@ -9,6 +9,8 @@ depends=(
|
|||||||
vim
|
vim
|
||||||
htop
|
htop
|
||||||
termite-terminfo
|
termite-terminfo
|
||||||
|
git
|
||||||
|
usbutils
|
||||||
# base-devel:
|
# base-devel:
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
|
12
repo/dejvino/makepkg.conf
Normal file
12
repo/dejvino/makepkg.conf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/hint/bash
|
||||||
|
source /etc/makepkg.conf
|
||||||
|
|
||||||
|
CARCH="aarch64"
|
||||||
|
CHOST="aarch64-pc-linux-gnu"
|
||||||
|
|
||||||
|
#-- Compiler and Linker Flags
|
||||||
|
CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
||||||
|
CFLAGS="-march=armv8-a -mtune=generic -O2 -pipe -fno-plt"
|
||||||
|
CXXFLAGS="-march=armv8-a -mtune=generic -O2 -pipe -fno-plt"
|
||||||
|
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
||||||
|
|
37
repo/dejvino/netevent-git/PKGBUILD
Normal file
37
repo/dejvino/netevent-git/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# source: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=netevent-git
|
||||||
|
_pkgbase=netevent
|
||||||
|
pkgname=netevent-git
|
||||||
|
pkgver=ddd330f
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Event device viewing/cloning utility"
|
||||||
|
url="https://github.com/Blub/netevent"
|
||||||
|
arch=('aarch64')
|
||||||
|
license=('GPL')
|
||||||
|
depends=()
|
||||||
|
makedepends=('python-docutils')
|
||||||
|
source=("git+https://github.com/Blub/netevent.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
CROSS_COMPILING='aarch64-linux-gnu-'
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/netevent"
|
||||||
|
git describe --always
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir/$_pkgbase"
|
||||||
|
CXX=${CROSS_COMPILING}g++ ./configure --prefix=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$_pkgbase"
|
||||||
|
sed -i 's/-Werror//' ./Makefile
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$_pkgbase"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
38
repo/dejvino/uinput-permfix/PKGBUILD
Normal file
38
repo/dejvino/uinput-permfix/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
_pkgbase=uinput-permfix
|
||||||
|
pkgname=uinput-permfix
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="/dev/uinput permissions fix: set owner to 'input' group"
|
||||||
|
url=""
|
||||||
|
arch=('any')
|
||||||
|
license=('GPL')
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
source=(
|
||||||
|
uinput-permfix.service
|
||||||
|
uinput-permfix.timer
|
||||||
|
uinput-permfix
|
||||||
|
)
|
||||||
|
sha256sums=(
|
||||||
|
ea5a029fe085ed201e7e8015198fd0b27c71808e7ee3640b13552c3d9a20842e
|
||||||
|
2acdfc8d85c1c57557127b856b069c02aafe2b8793a644ab1fc241a8a92fb084
|
||||||
|
b7c3c491689f10a99e882dfd7206ea91406b196e431dca447ebb088e094cbcfc
|
||||||
|
)
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -D -m644 "$srcdir"/uinput-permfix.service \
|
||||||
|
"$pkgdir"/etc/systemd/system/uinput-permfix.service
|
||||||
|
install -D -m644 "$srcdir"/uinput-permfix.timer \
|
||||||
|
"$pkgdir"/etc/systemd/system/uinput-permfix.timer
|
||||||
|
install -D -m755 "$srcdir"/uinput-permfix \
|
||||||
|
"$pkgdir"/usr/local/sbin/uinput-permfix
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
systemctl enable --now uinput-permfix.timer
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_remove() {
|
||||||
|
systemctl disable uinput-permfix.timer
|
||||||
|
}
|
||||||
|
|
5
repo/dejvino/uinput-permfix/uinput-permfix
Executable file
5
repo/dejvino/uinput-permfix/uinput-permfix
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chown root:input /dev/uinput
|
||||||
|
chmod g+rw /dev/uinput
|
||||||
|
|
5
repo/dejvino/uinput-permfix/uinput-permfix.service
Normal file
5
repo/dejvino/uinput-permfix/uinput-permfix.service
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=UInput Permfix
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/local/sbin/uinput-permfix
|
7
repo/dejvino/uinput-permfix/uinput-permfix.timer
Normal file
7
repo/dejvino/uinput-permfix/uinput-permfix.timer
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=UInput Permfix
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=1min
|
||||||
|
OnUnitActiveSec=2min
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user