From ef7a330eae68da2f47c617502b28a2f8c9eeb792 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 2 Feb 2014 20:54:07 -0500 Subject: libremakepkg-test: test the -N flag --- test/libremakepkg.d/PKGBUILD-netbuild | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/libremakepkg.d/PKGBUILD-netbuild (limited to 'test/libremakepkg.d/PKGBUILD-netbuild') diff --git a/test/libremakepkg.d/PKGBUILD-netbuild b/test/libremakepkg.d/PKGBUILD-netbuild new file mode 100644 index 0000000..c1335a6 --- /dev/null +++ b/test/libremakepkg.d/PKGBUILD-netbuild @@ -0,0 +1,16 @@ +pkgname='libretools-netbuild' +pkgver=1.0 +license=('GPL') +url='https://parabolagnulinux.org' + +pkgrel=1 +arch=(any) + +build() { + curl https://repo.parabolagnulinux.org/ > index.html +} + +package() { + cd "$srcdir" + install -Dm644 index.html "$pkgdir"/usr/share/$pkgname/index.html +} -- cgit v1.2.3-2-g168b From 696c05516039b7b93381811451d393b16a8653d1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Feb 2014 20:42:54 -0500 Subject: add a test for the last commit (enabling networking during prepare()) --- test/libremakepkg.d/PKGBUILD-netbuild | 1 + 1 file changed, 1 insertion(+) (limited to 'test/libremakepkg.d/PKGBUILD-netbuild') diff --git a/test/libremakepkg.d/PKGBUILD-netbuild b/test/libremakepkg.d/PKGBUILD-netbuild index c1335a6..7be896b 100644 --- a/test/libremakepkg.d/PKGBUILD-netbuild +++ b/test/libremakepkg.d/PKGBUILD-netbuild @@ -7,6 +7,7 @@ pkgrel=1 arch=(any) build() { + cd "$srcdir" curl https://repo.parabolagnulinux.org/ > index.html } -- cgit v1.2.3-2-g168b