From eedf9d1e677b272d4aba17ca428a05b9856d2039 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Mar 2017 14:09:44 +0000 Subject: community/p8-platform: fix directory name the dir name should correspond to pkgname --- community/libp8-platform/APKBUILD | 32 -------------------------------- community/p8-platform/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 community/libp8-platform/APKBUILD create mode 100644 community/p8-platform/APKBUILD (limited to 'community') diff --git a/community/libp8-platform/APKBUILD b/community/libp8-platform/APKBUILD deleted file mode 100644 index 8875165984..0000000000 --- a/community/libp8-platform/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Róbert Nagy -# Maintainer: Róbert Nagy -pkgname=p8-platform -pkgver=2.1.0.1 -pkgrel=1 -pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" -url="https://github.com/Pulse-Eight/platform" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev cmake" -install="" -subpackages="$pkgname-dev" -source="https://github.com/Pulse-Eight/platform/archive/p8-platform-$pkgver.tar.gz" -builddir="$srcdir"/platform-p8-platform-$pkgver - -build() { - mkdir "$builddir/build" - cd "$builddir/build" - cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=/usr .. || return 1 - make || return 1 -} - -package() { - cd "$builddir/build" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="3b9b00b7e0bb43532518741c1e30a2d7 p8-platform-2.1.0.1.tar.gz" -sha256sums="064f8d2c358895c7e0bea9ae956f8d46f3f057772cb97f2743a11d478a0f68a0 p8-platform-2.1.0.1.tar.gz" -sha512sums="76e6f1ac64b61e4def7d99965708d0f05698379e0f3e846317174f0bc12a9654b3341afc84bd8a3a70f101ecab6c692dea96b57d7e000dfabf6cedee2b8dcd8a p8-platform-2.1.0.1.tar.gz" diff --git a/community/p8-platform/APKBUILD b/community/p8-platform/APKBUILD new file mode 100644 index 0000000000..8875165984 --- /dev/null +++ b/community/p8-platform/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Róbert Nagy +# Maintainer: Róbert Nagy +pkgname=p8-platform +pkgver=2.1.0.1 +pkgrel=1 +pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi" +url="https://github.com/Pulse-Eight/platform" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="$depends_dev cmake" +install="" +subpackages="$pkgname-dev" +source="https://github.com/Pulse-Eight/platform/archive/p8-platform-$pkgver.tar.gz" +builddir="$srcdir"/platform-p8-platform-$pkgver + +build() { + mkdir "$builddir/build" + cd "$builddir/build" + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=/usr .. || return 1 + make || return 1 +} + +package() { + cd "$builddir/build" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="3b9b00b7e0bb43532518741c1e30a2d7 p8-platform-2.1.0.1.tar.gz" +sha256sums="064f8d2c358895c7e0bea9ae956f8d46f3f057772cb97f2743a11d478a0f68a0 p8-platform-2.1.0.1.tar.gz" +sha512sums="76e6f1ac64b61e4def7d99965708d0f05698379e0f3e846317174f0bc12a9654b3341afc84bd8a3a70f101ecab6c692dea96b57d7e000dfabf6cedee2b8dcd8a p8-platform-2.1.0.1.tar.gz" -- cgit v1.2.3