summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-07 20:02:26 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-07 20:02:26 +0200
commitbce7eb253a5e2344c5a3a37f53cf971c8df8ce1d (patch)
tree13b1cb5e10047dc96b06e5afb7adc5ea2827fbb2 /test
parente843fb3b4c5792ca3311aca311c9af6ea764c4fc (diff)
downloaddbscripts-bce7eb253a5e2344c5a3a37f53cf971c8df8ce1d.tar.gz
dbscripts-bce7eb253a5e2344c5a3a37f53cf971c8df8ce1d.tar.xz
add some sample PKGBUILDs
Diffstat (limited to 'test')
-rw-r--r--test/packages/pkg-any-a/PKGBUILD11
-rw-r--r--test/packages/pkg-any-b/PKGBUILD11
-rw-r--r--test/packages/pkg-simple-a/PKGBUILD11
-rw-r--r--test/packages/pkg-simple-b/PKGBUILD11
-rw-r--r--test/packages/pkg-split-a/PKGBUILD16
-rw-r--r--test/packages/pkg-split-b/PKGBUILD16
6 files changed, 76 insertions, 0 deletions
diff --git a/test/packages/pkg-any-a/PKGBUILD b/test/packages/pkg-any-a/PKGBUILD
new file mode 100644
index 0000000..348bc4b
--- /dev/null
+++ b/test/packages/pkg-any-a/PKGBUILD
@@ -0,0 +1,11 @@
+pkgname=pkg-any-a
+pkgver=1
+pkgrel=1
+pkgdesc="A package called ${pkgname}"
+arch=('any')
+url='http://www.archlinux.org/'
+license=('GPL')
+
+package() {
+ true
+}
diff --git a/test/packages/pkg-any-b/PKGBUILD b/test/packages/pkg-any-b/PKGBUILD
new file mode 100644
index 0000000..fd42748
--- /dev/null
+++ b/test/packages/pkg-any-b/PKGBUILD
@@ -0,0 +1,11 @@
+pkgname=pkg-any-b
+pkgver=1
+pkgrel=1
+pkgdesc="A package called ${pkgname}"
+arch=('any')
+url='http://www.archlinux.org/'
+license=('GPL')
+
+package() {
+ true
+}
diff --git a/test/packages/pkg-simple-a/PKGBUILD b/test/packages/pkg-simple-a/PKGBUILD
new file mode 100644
index 0000000..78f3c8e
--- /dev/null
+++ b/test/packages/pkg-simple-a/PKGBUILD
@@ -0,0 +1,11 @@
+pkgname=pkg-simple-a
+pkgver=1
+pkgrel=1
+pkgdesc="A package called ${pkgname}"
+arch=('i686' 'x86_64')
+url='http://www.archlinux.org/'
+license=('GPL')
+
+package() {
+ true
+}
diff --git a/test/packages/pkg-simple-b/PKGBUILD b/test/packages/pkg-simple-b/PKGBUILD
new file mode 100644
index 0000000..1ef298e
--- /dev/null
+++ b/test/packages/pkg-simple-b/PKGBUILD
@@ -0,0 +1,11 @@
+pkgname=pkg-simple-b
+pkgver=1
+pkgrel=1
+pkgdesc="A package called ${pkgname}"
+arch=('i686' 'x86_64')
+url='http://www.archlinux.org/'
+license=('GPL')
+
+package() {
+ true
+}
diff --git a/test/packages/pkg-split-a/PKGBUILD b/test/packages/pkg-split-a/PKGBUILD
new file mode 100644
index 0000000..6ac77ea
--- /dev/null
+++ b/test/packages/pkg-split-a/PKGBUILD
@@ -0,0 +1,16 @@
+pkgbase=pkg-split-a
+pkgname=('pkg-split-a1' 'pkg-split-a2')
+pkgver=1
+pkgrel=1
+pkgdesc="A split package called ${pkgbase}"
+arch=('i686' 'x86_64')
+url='http://www.archlinux.org/'
+license=('GPL')
+
+package_pkg-split-a1() {
+ true
+}
+
+package_pkg-split-a2() {
+ true
+}
diff --git a/test/packages/pkg-split-b/PKGBUILD b/test/packages/pkg-split-b/PKGBUILD
new file mode 100644
index 0000000..e1817b7
--- /dev/null
+++ b/test/packages/pkg-split-b/PKGBUILD
@@ -0,0 +1,16 @@
+pkgbase=pkg-split-b
+pkgname=('pkg-split-b1' 'pkg-split-b2')
+pkgver=1
+pkgrel=1
+pkgdesc="A split package called ${pkgbase}"
+arch=('i686' 'x86_64')
+url='http://www.archlinux.org/'
+license=('GPL')
+
+package_pkg-split-b1() {
+ true
+}
+
+package_pkg-split-b2() {
+ true
+}