5 Commits

8 changed files with 114 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.gigaide
.idea

View File

@@ -1,5 +1,5 @@
name='bar-pkg'
version='1.0.0'
version='2.0.0'
release='1'
desc='BAR PKG'
maintainer='UNKNOWN'

View File

@@ -0,0 +1,29 @@
basepkg_name='test-81-multiple-packages'
name=(
first-package-with-dashes
second-package-with-dashes
)
version='1.0.0'
release='1'
desc='-'
homepage='-'
maintainer='Ivan Ivanov <example@example.ru>'
architectures=('all')
meta_first-package-with-dashes() {
desc="description first-package-with-dashes"
}
meta_second-package-with-dashes() {
desc="description second-package-with-dashes"
}
package_first-package-with-dashes() {
mkdir -p $pkgdir/opt
echo "first-package" > $pkgdir/opt/first-package
}
package_second-package-with-dashes() {
mkdir -p $pkgdir/opt
echo "second-package" > $pkgdir/opt/second-package
}

13
test-94-app/alr.sh Normal file
View File

@@ -0,0 +1,13 @@
name='test-94-app'
version='1.0.0'
release='1'
desc='test-94-app'
maintainer='UNKNOWN'
architectures=('all')
license=('UNKNOWN')
deps=(
'test-94-dep'
)
build_deps=(
'test-94-dep'
)

8
test-94-dep/alr.sh Normal file
View File

@@ -0,0 +1,8 @@
name='test-94-dep'
version='1.0.0'
release='1'
desc='test-94-dep'
maintainer='UNKNOWN'
architectures=('all')
license=('UNKNOWN')

16
test-98-app/alr.sh Normal file
View File

@@ -0,0 +1,16 @@
name='test-98-app'
version='1.0.0'
release='1'
desc='FOO PKG'
maintainer='UNKNOWN'
architectures=('all')
license=('UNKNOWN')
build_deps=(
'test-98-multipackage-dep-sub'
)
package() {
mkdir -p "$pkgdir/opt"
echo "FOO-PKG" > "$pkgdir/opt/foo"
}

View File

@@ -0,0 +1,31 @@
basepkg_name='test-98-multipackage'
name=(
test-98-multipackage-dep-sub
test-98-multipackage-dep-sub-foo
)
version='1.0.0'
release='1'
desc=''
maintainer='UNKNOWN'
architectures=('all')
license=('UNKNOWN')
meta_test-98-multipackage-dep-sub() {
desc="sub"
}
package_test-98-multipackage-dep-sub() {
mkdir -p "$pkgdir/opt"
echo "sub-pkg" > "$pkgdir/opt/sub-pkg"
}
meta_test-98-multipackage-dep-sub-foo() {
desc="sub-foo"
}
package_test-98-multipackage-dep-sub-foo() {
mkdir -p "$pkgdir/opt"
echo "sub-foo-pkg" > "$pkgdir/opt/sub-foo-pkg"
}

View File

@@ -0,0 +1,14 @@
#!/usr/bin/bash
getent group plugdev >/dev/null || groupadd -r plugdev
cat << EOF
The daemon requires you add the user to the \`plugdev\` group:
# gpasswd -a \$USER plugdev
Enable the OpenRazer daemon systemd service:
\$ systemctl --user enable openrazer-daemon.service
Reboot for changes to take effect.
EOF