libplatform-git movec to AUR4 and submodule

This commit is contained in:
Cedric Girard 2015-06-15 12:09:18 +02:00
parent d5c876b66a
commit c0509ecfe6
3 changed files with 5 additions and 37 deletions

4
.gitmodules vendored
View file

@ -42,3 +42,7 @@
path = pkgbuild/thunderbird-nightly
url = https://aur@aur4.archlinux.org/thunderbird-nightly.git
pushurl = ssh+git://aur@aur4.archlinux.org/thunderbird-nightly.git
[submodule "pkgbuild/libplatform-git"]
path = pkgbuild/libplatform-git
url = https://aur@aur4.archlinux.org/libplatform-git.git
pushurl = ssh+git://aur@aur4.archlinux.org/libplatform-git.git

@ -0,0 +1 @@
Subproject commit 6eb9544390b186457e97f9af1310741b3848d3cf

View file

@ -1,37 +0,0 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=libplatform-git
pkgver=1.0.1
pkgrel=1
pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi"
arch=('i686' 'x86_64')
url="https://github.com/Pulse-Eight/platform"
license=('GPL')
makedepends=('git')
provides=('libplatform')
conflicts=('libplatform')
source=('libplatform::git+https://github.com/Pulse-Eight/platform.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir"/libplatform
git describe --tags
}
build() {
cd "$srcdir"/libplatform
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
make
}
package() {
cd "$srcdir"/libplatform
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et: