diff options
Diffstat (limited to 'testcorpus/install-hooks')
| -rw-r--r-- | testcorpus/install-hooks/PKGBUILD | 14 | ||||
| -rw-r--r-- | testcorpus/install-hooks/install-hooks.install | 6 | ||||
| -rw-r--r-- | testcorpus/install-hooks/manifest.json | 30 |
3 files changed, 50 insertions, 0 deletions
diff --git a/testcorpus/install-hooks/PKGBUILD b/testcorpus/install-hooks/PKGBUILD new file mode 100644 index 0000000..149da79 --- /dev/null +++ b/testcorpus/install-hooks/PKGBUILD @@ -0,0 +1,14 @@ +pkgbase=install-hooks +pkgver=1.0 +pkgrel=1 +pkgdesc="synthetic fixture" +url="https://example.invalid/install-hooks" +license=(MIT) +arch=(x86_64) +install=install-hooks.install +build() { + echo building install-hooks +} +package_install-hooks() { + echo packaging install-hooks +} diff --git a/testcorpus/install-hooks/install-hooks.install b/testcorpus/install-hooks/install-hooks.install new file mode 100644 index 0000000..17a34be --- /dev/null +++ b/testcorpus/install-hooks/install-hooks.install @@ -0,0 +1,6 @@ +post_install() { + echo "welcome" +} +pre_upgrade() { + echo "upgrading" +} diff --git a/testcorpus/install-hooks/manifest.json b/testcorpus/install-hooks/manifest.json new file mode 100644 index 0000000..5ce0555 --- /dev/null +++ b/testcorpus/install-hooks/manifest.json @@ -0,0 +1,30 @@ +{ + "name": "install-hooks", + "build": "succeed", + "sig": true, + "packages": [], + "installed": [ + { + "name": "glibc", + "version": "2.39-1", + "arch": "x86_64" + }, + { + "name": "pacman", + "version": "6.1.0-1", + "arch": "x86_64" + }, + { + "name": "binutils", + "version": "2.42-1", + "arch": "x86_64" + } + ], + "log_lines": [ + "==> Making package.", + "==> Entering fakeroot environment." + ], + "expect": { + "notes": "install hook delta panel" + } +} |
