Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
f3bdf9aee6 | |||
c1b1b560a8 | |||
d9a3541561 | |||
f8db6a669d | |||
99d9bd5d3a | |||
76f9daccd2 | |||
79692eb283 | |||
752d8e3111 | |||
aefe07f15f | |||
d5f3d9a605 | |||
114313a1b8 | |||
5d38f41152 | |||
3b2548d3d9 | |||
b7f436d5ef | |||
d1c13fd963 | |||
bd26236cd7 |
2
alr-repo.toml
Normal file
2
alr-repo.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[repo]
|
||||
minVersion = "v0.0.5"
|
@ -1,6 +1,7 @@
|
||||
name='bar-pkg'
|
||||
version='1.0.0'
|
||||
version='2.0.0'
|
||||
release='1'
|
||||
desc='BAR PKG'
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
19
firejailed-pkg-incorrect/alr.sh
Normal file
19
firejailed-pkg-incorrect/alr.sh
Normal file
@ -0,0 +1,19 @@
|
||||
name='firejailed-pkg-incorrect'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
desc='firejailed-pkg'
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
||||
|
||||
firejailed=1
|
||||
|
||||
prepare() {
|
||||
cp "$scriptdir"/danger.sh "$srcdir/"
|
||||
ls $pkgdir
|
||||
}
|
||||
|
||||
package() {
|
||||
install-binary ./danger.sh
|
||||
}
|
||||
|
3
firejailed-pkg-incorrect/danger.sh
Normal file
3
firejailed-pkg-incorrect/danger.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Danger"
|
21
firejailed-pkg/alr.sh
Normal file
21
firejailed-pkg/alr.sh
Normal file
@ -0,0 +1,21 @@
|
||||
name='firejailed-pkg'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
desc='firejailed-pkg'
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
||||
|
||||
firejailed=1
|
||||
firejail_profiles=(
|
||||
['default']='firejail.profile'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cp "$scriptdir"/danger.sh "$srcdir/"
|
||||
ls $pkgdir
|
||||
}
|
||||
|
||||
package() {
|
||||
install-binary ./danger.sh
|
||||
}
|
3
firejailed-pkg/danger.sh
Normal file
3
firejailed-pkg/danger.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Danger"
|
@ -1,6 +1,7 @@
|
||||
name='foo-pkg'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
desc='FOO PKG'
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
25
test-70-meson/alr.sh
Normal file
25
test-70-meson/alr.sh
Normal file
@ -0,0 +1,25 @@
|
||||
name='test-70-meson'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
desc=''
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
||||
|
||||
build_deps=(
|
||||
"meson"
|
||||
"ninja-build"
|
||||
)
|
||||
|
||||
build() {
|
||||
>&2 echo "cd $srcdir"
|
||||
cd "$srcdir"
|
||||
>&2 echo "meson setup build --prefix=/usr --buildtype=release -Dstrip=true"
|
||||
meson setup build --prefix=/usr --buildtype=release -Dstrip=true
|
||||
# ninja -C build -j $(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
# cd "$srcdir"
|
||||
# meson install -C build --destdir="$pkgdir"
|
||||
}
|
29
test-81-multiple-packages/alr.sh
Normal file
29
test-81-multiple-packages/alr.sh
Normal 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
13
test-94-app/alr.sh
Normal 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
8
test-94-dep/alr.sh
Normal 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')
|
||||
|
11
test-app-with-lib/alr.sh
Normal file
11
test-app-with-lib/alr.sh
Normal file
@ -0,0 +1,11 @@
|
||||
name='test-app-with-lib'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
desc='FOO PKG'
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
||||
deps=(
|
||||
'test-lib'
|
||||
)
|
||||
|
24
test-autoreq-autoprov/alr.sh
Normal file
24
test-autoreq-autoprov/alr.sh
Normal file
@ -0,0 +1,24 @@
|
||||
name='test-autoreq-autoprov'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
desc='-'
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
||||
|
||||
auto_req=1
|
||||
auto_prov=1
|
||||
auto_req_skiplist_altlinux=(
|
||||
"/usr/bin/zsh-req"
|
||||
"/usr/bin/bash-req"
|
||||
)
|
||||
auto_req_skiplist_fedora=(
|
||||
"^/usr/bin/zsh-req$"
|
||||
"^/usr/bin/bash-req$"
|
||||
)
|
||||
|
||||
package() {
|
||||
install-binary "$scriptdir/bash-req" bash-req
|
||||
install-binary "$scriptdir/zsh-req" zsh-req
|
||||
install-binary "$scriptdir/sh-req" sh-req
|
||||
}
|
1
test-autoreq-autoprov/bash-req
Executable file
1
test-autoreq-autoprov/bash-req
Executable file
@ -0,0 +1 @@
|
||||
#!/bin/bash
|
1
test-autoreq-autoprov/sh-req
Normal file
1
test-autoreq-autoprov/sh-req
Normal file
@ -0,0 +1 @@
|
||||
#!/bin/sh
|
1
test-autoreq-autoprov/zsh-req
Normal file
1
test-autoreq-autoprov/zsh-req
Normal file
@ -0,0 +1 @@
|
||||
#!/bin/zsh
|
17
test-group-and-summary/alr.sh
Normal file
17
test-group-and-summary/alr.sh
Normal file
@ -0,0 +1,17 @@
|
||||
name='test-group-and-summary'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
group="System/Base"
|
||||
summary="Custom summary"
|
||||
desc_en="Long long
|
||||
multiline description"
|
||||
desc_ru="Длинное
|
||||
описание"
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/opt"
|
||||
echo "FOO-PKG" > "$pkgdir/opt/foo"
|
||||
}
|
8
test-lib/alr.sh
Normal file
8
test-lib/alr.sh
Normal file
@ -0,0 +1,8 @@
|
||||
name='test-lib'
|
||||
version='1.0.0'
|
||||
release='1'
|
||||
desc='FOO PKG'
|
||||
maintainer='UNKNOWN'
|
||||
architectures=('all')
|
||||
license=('UNKNOWN')
|
||||
|
Reference in New Issue
Block a user