From 3cdb638d9d88d23182d35a971e13102a661aaffd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 15 Oct 2013 18:53:35 -0400 Subject: test: libremakepkg: add a test for bug #442, chcleanup not running --- test/libremakepkg.d/PKGBUILD-testpkg1 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/libremakepkg.d/PKGBUILD-testpkg1 (limited to 'test/libremakepkg.d/PKGBUILD-testpkg1') diff --git a/test/libremakepkg.d/PKGBUILD-testpkg1 b/test/libremakepkg.d/PKGBUILD-testpkg1 new file mode 100644 index 0000000..b7961bb --- /dev/null +++ b/test/libremakepkg.d/PKGBUILD-testpkg1 @@ -0,0 +1,19 @@ +pkgname='libretools-testpkg1' +pkgver=1.0 +license=('GPL') +url='https://parabolagnulinux.org' + +pkgrel=1 +arch=(any) +depends=(sh) + +build() { + cd "$srcdir" + echo '#!/bin/sh' > testpkg1.sh + echo 'echo testpkg1' >> testpkg1.sh +} + +package() { + cd "$srcdir" + install -Dm755 testpkg1.sh "$pkgdir"/usr/bin/libretools-testpkg1 +} -- cgit v1.2.2