diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2013-11-27 15:56:10 -0800 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-11-27 16:30:05 -0800 |
commit | 4b45d3f7b036a7dd6dcb71ad139bce9b928933ed (patch) | |
tree | b8a8fd115c10d4b47071b215e7b91e5642b9dc20 | |
parent | 2107b520dc8a1f4d7a04383550dc80e081982376 (diff) |
pkg/archlinux: Remove PKGBUILD.template
The build system generated a real PKGBUILD from PKGBUILD.template.
Rather than do that, let's just maintain *real* PKGBUILD's from the AUR
that are known to work.
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | pkg/CMakeLists.txt | 1 | ||||
-rw-r--r-- | pkg/archlinux/.gitignore | 1 | ||||
-rw-r--r-- | pkg/archlinux/CMakeLists.txt | 3 | ||||
-rw-r--r-- | pkg/archlinux/PKGBUILD.template | 55 |
5 files changed, 0 insertions, 61 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e71f098..a6c804a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,6 @@ include_directories( ) add_subdirectory(doc) -add_subdirectory(pkg) add_subdirectory(src) add_subdirectory(include) add_subdirectory(man) diff --git a/pkg/CMakeLists.txt b/pkg/CMakeLists.txt deleted file mode 100644 index 36a2f0e..0000000 --- a/pkg/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_subdirectory(archlinux) diff --git a/pkg/archlinux/.gitignore b/pkg/archlinux/.gitignore deleted file mode 100644 index 670e123..0000000 --- a/pkg/archlinux/.gitignore +++ /dev/null @@ -1 +0,0 @@ -PKGBUILD diff --git a/pkg/archlinux/CMakeLists.txt b/pkg/archlinux/CMakeLists.txt deleted file mode 100644 index 32376e2..0000000 --- a/pkg/archlinux/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -configure_file(PKGBUILD.template - ${CMAKE_CURRENT_SOURCE_DIR}/PKGBUILD - @ONLY) diff --git a/pkg/archlinux/PKGBUILD.template b/pkg/archlinux/PKGBUILD.template deleted file mode 100644 index c110d71..0000000 --- a/pkg/archlinux/PKGBUILD.template +++ /dev/null @@ -1,55 +0,0 @@ -# Maintainer: Chad Versace <chad.versace@linux.intel.com> - -pkgname='waffle' -pkgver='@waffle_major_version@.@waffle_minor_version@.@waffle_patch_version@' -pkgrel=1 -pkgdesc='a library for choosing window system and OpenGL API at runtime' -arch=('i686' 'x86_64') -url='http://people.freedesktop.org/~chadversary/waffle' -license=('BSD') - -depends=( - 'libgl' # for GLX - 'libegl' - 'libgbm' - 'libx11' - 'libxcb' - 'wayland' - ) -makedepends=( - 'cmake' - 'xcb-proto' - - # For building the docs. - 'libxslt' - 'docbook-xsl' - ) -source=("http://people.freedesktop.org/~chadversary/waffle/files/release/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz") -sha256sums=('@TODO@') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DCMAKE_BUILD_TYPE=Release \ - -Dwaffle_has_gbm=1 \ - -Dwaffle_has_glx=1 \ - -Dwaffle_has_x11_egl=1 \ - -Dwaffle_has_wayland=1 \ - -Dwaffle_build_manpages=1 \ - -Dwaffle_build_htmldocs=1 \ - -Dwaffle_build_examples=0 - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" - install -m644 "$pkgdir/usr/share/doc/waffle-@waffle_major_version@/LICENSE.txt" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} - -# vim:set ts=2 sw=2 et: |