test(fixtures): add Arch package fixtures and prove Lua cross-validation probe
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
BIN
Binary file not shown.
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
pkgname = epochtool
|
||||
pkgver = 1:1.0.0-1
|
||||
pkgdesc = Epoch test
|
||||
url = https://example.org
|
||||
arch = x86_64
|
||||
depend = glibc
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
pkgname = hello
|
||||
pkgver = 1.0-1
|
||||
pkgdesc = A tiny demonstration program
|
||||
url = https://example.org
|
||||
arch = x86_64
|
||||
depend = glibc
|
||||
depend = zlib
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
pkgname = multiload
|
||||
pkgver = 2.3-1
|
||||
pkgdesc = Multi dep test
|
||||
url = https://example.org
|
||||
arch = x86_64
|
||||
depend = glibc
|
||||
depend = pcre2>=10.42
|
||||
optdepend = python: for scripting
|
||||
provides = multiload
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
pkgbase = mytool
|
||||
pkgdesc = Example custom-build package
|
||||
pkgver = 1.0
|
||||
pkgrel = 1
|
||||
url = https://example.org
|
||||
arch = x86_64
|
||||
depends = glibc
|
||||
source = mytool-1.0.tar.gz
|
||||
sha256sums = SKIP
|
||||
pkgname = mytool
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
pkgname=mytool
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Example custom-build package"
|
||||
arch=(x86_64)
|
||||
url="https://example.org"
|
||||
depends=('glibc')
|
||||
source=("mytool-1.0.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
pkgbase=foobar
|
||||
pkgname=('foo' 'bar')
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Split package example"
|
||||
arch=(x86_64)
|
||||
url="https://example.org"
|
||||
depends=('glibc')
|
||||
source=("foobar-1.0.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package_foo() {
|
||||
cd "$srcdir"
|
||||
make DESTDIR="$pkgdir" install-foo
|
||||
}
|
||||
|
||||
package_bar() {
|
||||
cd "$srcdir"
|
||||
make DESTDIR="$pkgdir" install-bar
|
||||
}
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
pkgname=mygit
|
||||
pkgver=r1.abc
|
||||
pkgrel=1
|
||||
pkgdesc="VCS package example"
|
||||
arch=(x86_64)
|
||||
url="https://example.org"
|
||||
depends=('git')
|
||||
source=("git+https://example.org/repo.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/repo"
|
||||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/repo"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/repo"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
Reference in New Issue
Block a user