summaryrefslogtreecommitdiff
path: root/test/libremakepkg.d/PKGBUILD-testpkg1
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-15 18:53:35 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-15 23:13:03 -0400
commit3cdb638d9d88d23182d35a971e13102a661aaffd (patch)
treeae5c5a08f5ddc71cf54c4c6778b2b8bd28be2ad3 /test/libremakepkg.d/PKGBUILD-testpkg1
parent86ee52ddc0cf2d09c1789dd9c1dcbcc98b9b45c0 (diff)
test: libremakepkg: add a test for bug #442, chcleanup not running
Diffstat (limited to 'test/libremakepkg.d/PKGBUILD-testpkg1')
-rw-r--r--test/libremakepkg.d/PKGBUILD-testpkg119
1 files changed, 19 insertions, 0 deletions
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
+}