summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/blender-libre/PKGBUILD221
-rw-r--r--libre/blender-parabola/PKGBUILD173
-rw-r--r--libre/blender-parabola/blender.install (renamed from libre/blender-libre/blender.install)0
-rw-r--r--libre/lirc-parabola/PKGBUILD51
4 files changed, 199 insertions, 246 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
deleted file mode 100644
index 9345b076a..000000000
--- a/libre/blender-libre/PKGBUILD
+++ /dev/null
@@ -1,221 +0,0 @@
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-
-_pkgname=blender
-epoch=12
-_pkgver=2.70a
-pkgrel=2
-_jpgver=1.5
-_pyver=3.4
-
-_spn=false
-[[ $_spn == true ]] && {
- _spnname=-spacenav
- _spndesc=' (with spacenav support)'
-}
-
-pkgname=$_pkgname-libre$_spnname
-pkgver=$_pkgver
-pkgdesc='Fully integrated 3D graphics creation suite, without nonfree cuda support'$_spndesc
-arch=(
- mips64el
- x86_64
- i686
-)
-license=(
- GPL
-)
-url=http://www.$_pkgname.org
-depends=(
- boost-libs
- desktop-file-utils
- ffmpeg
- fftw
- freetype2
- glew
- hicolor-icon-theme
- jack
- libjpeg-turbo
- libpng
- libsndfile
- libtiff
- libx11
- libxext
- libxi
- libxml2
- libxxf86vm
- llvm-libs
- mesa-libgl
- openal
- 'opencollada=20140214'
- opencolorio
- openexr
- openimageio
- openjpeg
- 'openshadinglanguage=1.4.1'
- pcre
- python
- sdl
- shared-mime-info
- xdg-utils
- zlib
-)
-[[ $_spn == true ]] && depends+=(libspnav)
-optdepends=(
- 'bullet: for Rigid Bodies and Physics Simulation'
- #'mesa-libcl: for rendering with optional Mesa OpenCL'
- 'povray: for optional renderer with POV-Ray'
- 'xcftools: for import GIMP images to scene (pcr repo)'
- 'blender-addon-luxrender: for optional renderer and exporter with LuxRender'
- 'blender-addon-mitsuba: for optional renderer and exporter with Mitsuba (pcr repo)'
- 'blender-addon-ogre: for export to Ogre3D formats (pcr repo)'
- 'blender-addon-yafaray: for optional renderer with YafaRay (pcr repo)'
-)
-makedepends=(
- boost # for cycles, booleans, audaspace and/or i18n
- cmake
- llvm
- mesa
-)
-[[ $_spn != true ]] && provides=($_pkgname)
-[[ $_spn == true ]] && provides+=("$_pkgname-libre=$epoch:$pkgver" $_pkgname$_spnname-libre)
-[[ $_spn != true ]] && conflicts=($_pkgname)
-[[ $_spn == true ]] && conflicts+=($_pkgname-libre $_pkgname$_spnname-libre)
-[[ $_spn != true ]] && replaces=($_pkgname)
-[[ $_spn == true ]] && replaces=($_pkgname$_spnname-libre)
-options=(!strip)
-install=$_pkgname.install
-source=(
- http://download.$_pkgname.org/source/$_pkgname-$pkgver.tar.gz
-)
-sha512sums=(
- 777938abf30a336bab83a7418461d8d435cc3dc1421aeddc36657d5b8bae1742a38ee468020cee04f4089b646bff1c3715ad9ceb987d649eb3d015047f1869d7
-)
-
-prepare() {
- cd $srcdir/$_pkgname-v$pkgver
-
- msg 'renaming wrong OS name'
- _OS=$(uname -o)
- [[ $_OS == GNU ]] && sed -i 's|BUILD_PLATFORM;|"GNU";|' source/creator/buildinfo.c
- [[ $_OS == GNU/Linux ]] && sed -i 's|BUILD_PLATFORM;|"GNU/Linux";|' source/creator/buildinfo.c
- [[ $_OS == GNU/kFreeBSD ]] && sed -i 's|BUILD_PLATFORM;|"GNU/kFreeBSD";|' source/creator/buildinfo.c
- sed -i 's|Linux, Mac OS X, Windows and FreeBSD|GNU and BSD|
- s|Linux, FreeBSD|GNU and BSD|
- s|Unpack the archive, Then run the Blender executable.|Install from Parabola repo (pacman -S '"$pkgname"'), Then run blender.|
- \|Windows|d;\|Mac OS X|d
- s|The downloaded Blender package includes|The '"${pkgname^}"' package includes|
- ' release/text/readme.html
- sed -i 's|Linux|GNU|
- ' release/scripts/{addons/game_engine_save_as_runtime,modules/bl_i18n_utils/utils_rtl}.py
- sed -i 's| (.so under Linux, .dll under windows...)| (.so under GNU or BSD, .dll under Wine or ReactOS...)|
- ' release/scripts/{addons/ui_translate,modules/bl_i18n_utils}/settings.py
-
- msg 'removing Open Source term'
- sed -i 's|free, open source|free|
- s|free and open-source|free|
- s|open-source and free|free|
- ' release/text/readme.html
-
- msg 'fixing povray-libre path and desc'
- sed -i "s|FILE_PATH',|FILE_PATH',\n default='/usr/bin/povray',|
- s|both POV-Ray 3[.]7 and this script are beta|this script is beta|
- " release/scripts/addons/render_povray/__init__.py
-
- mkdir -v build
-}
-
-build() {
- cd $srcdir/$_pkgname-v$pkgver/build
-
- [[ $CARCH == x86_64 || $CARCH == i686 ]] && _SSE=ON _SSE2=ON || _SSE=OFF _SSE2=OFF
- [[ $_spn == true ]] && _NDOF=ON || _NDOF=OFF
- cmake ..\
- -DCMAKE_BUILD_TYPE=Release\
- -DCMAKE_INSTALL_PREFIX=/usr\
- -DCYCLES_OSL=/usr\
- -DLLVM_STATIC=OFF\
- -DLLVM_VERSION=3.4\
- -DOPENIMAGEIO_ROOT_DIR=/usr\
- -DOPENJPEG_INCLUDE_DIR=/usr/include/openjpeg-$_jpgver\
- -DOSL_INCLUDES=/usr/include/OSL\
- -DPYTHON_INCLUDE_DIRS=/usr/include/python${_pyver}m\
- -DPYTHON_LIBPATH=/usr/lib\
- -DPYTHON_LIBRARY=python${_pyver}m\
- -DPYTHON_VERSION=$_pyver\
- -DSUPPORT_SSE_BUILD=$_SSE\
- -DSUPPORT_SSE2_BUILD=$_SSE2\
- -DWITH_AUDASPACE=ON\
- -DWITH_BLENDER=ON\
- -DWITH_BOOST=ON\
- -DWITH_BOOST_ICU=OFF\
- -DWITH_BUILDINFO=ON\
- -DWITH_BULLET=ON\
- -DWITH_CODEC_AVI=ON\
- -DWITH_CODEC_FFMPEG=ON\
- -DWITH_CODEC_SNDFILE=ON\
- -DWITH_COMPOSITOR=ON\
- -DWITH_CYCLES=ON\
- -DWITH_CYCLES_CUDA_BINARIES=OFF\
- -DWITH_CYCLES_OSL=ON\
- -DWITH_CYCLES_STANDALONE=ON\
- -DWITH_CYCLES_STANDALONE_GUI=ON\
- -DWITH_FFTW3=ON\
- -DWITH_FREESTYLE=ON\
- -DWITH_GAMEENGINE=ON\
- -DWITH_GHOST_XDND=ON\
- -DWITH_IK_ITASC=ON\
- -DWITH_IK_SOLVER=ON\
- -DWITH_IMAGE_CINEON=ON\
- -DWITH_IMAGE_DDS=ON\
- -DWITH_IMAGE_FRAMESERVER=ON\
- -DWITH_IMAGE_HDR=ON\
- -DWITH_IMAGE_OPENEXR=ON\
- -DWITH_IMAGE_OPENJPEG=ON\
- -DWITH_IMAGE_REDCODE=ON\
- -DWITH_IMAGE_TIFF=ON\
- -DWITH_INPUT_NDOF=$_NDOF\
- -DWITH_INSTALL_PORTABLE=OFF\
- -DWITH_INTERNATIONAL=ON\
- -DWITH_JACK=ON\
- -DWITH_JACK_DYNLOAD=ON\
- -DWITH_LIBMV=OFF\
- -DWITH_LLVM=ON\
- -DWITH_LZMA=ON\
- -DWITH_LZO=ON\
- -DWITH_MEM_JEMALLOC=OFF\
- -DWITH_MEM_VALGRIND=OFF\
- -DWITH_MOD_BOOLEAN=ON\
- -DWITH_MOD_FLUID=ON\
- -DWITH_MOD_OCEANSIM=ON\
- -DWITH_MOD_REMESH=ON\
- -DWITH_MOD_SMOKE=ON\
- -DWITH_OPENAL=ON\
- -DWITH_OPENIMAGEIO=ON\
- -DWITH_OPENCOLLADA=ON\
- -DWITH_OPENCOLORIO=ON\
- -DWITH_OPENMP=ON\
- -DWITH_PLAYER=ON\
- -DWITH_PYTHON=ON\
- -DWITH_PYTHON_INSTALL=OFF\
- -DWITH_PYTHON_INSTALL_NUMPY=OFF\
- -DWITH_PYTHON_MODULE=OFF\
- -DWITH_PYTHON_SAFETY=OFF\
- -DWITH_PYTHON_SECURITY=ON\
- -DWITH_RAYOPTIMIZATION=ON\
- -DWITH_SDL=ON\
- -DWITH_STATIC_LIBS=OFF\
- -DWITH_SYSTEM_GLEW=ON\
- -DWITH_SYSTEM_OPENJPEG=ON\
- -DWITH_X11_XF86VMODE=ON\
- -DWITH_X11_XINPUT=ON
- #-DWITH_MOD_CLOTH_ELTOPO=ON\
- #-DWITH_SYSTEM_BULLET=ON\
- make $MAKEFLAGS
- make
-}
-
-package() {
- cd $srcdir/$_pkgname-v$pkgver/build
- make DESTDIR=$pkgdir install
- python -m compileall $pkgdir/usr/share/$_pkgname
-}
diff --git a/libre/blender-parabola/PKGBUILD b/libre/blender-parabola/PKGBUILD
new file mode 100644
index 000000000..7d665ec9f
--- /dev/null
+++ b/libre/blender-parabola/PKGBUILD
@@ -0,0 +1,173 @@
+# Contributor (Arch): John Sowiak <john@archlinux.org>
+# Contributor (Arch): tobias <tobias@archlinux.org>
+# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgbase=blender
+pkgname=("$pkgbase-parabola" "$pkgbase-addon-gimp" "$pkgbase-addon-povray" "$pkgbase-addons-contrib")
+pkgver=2.71
+pkgrel=2
+epoch=14
+_jpgver=1.5
+_pyver=3.4
+pkgdesc='Fully integrated 3D graphics creation suite, without nonfree cuda support'
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL')
+url="http://www.$pkgbase.org"
+depends=('boost-libs' 'desktop-file-utils' 'ffmpeg' 'fftw' 'freetype2' 'glew'
+ 'hicolor-icon-theme' 'jack' 'libpng' 'libsndfile' 'libtiff' 'openal'
+ 'opencolorio' 'opencollada=20140214' 'openexr' 'openimageio'
+ 'openshadinglanguage=1.4.2' 'python' 'shared-mime-info' 'xdg-utils')
+makedepends=('boost' 'cmake' 'git') # 'bullet' (boost: for cycles, booleans, audaspace and/or i18n)
+optdepends=('bullet: for Rigid Bodies and Physics Simulation'
+ #'mesa-libcl: for rendering with optional Mesa OpenCL'
+ 'povray: for optional renderer with POV-Ray'
+ 'xcftools: for import GIMP images to scene (pcr repo)'
+ 'blender-addon-luxrender: for optional renderer and exporter with LuxRender'
+ 'blender-addon-mitsuba: for optional renderer and exporter with Mitsuba (pcr repo)'
+ 'blender-addon-ogre: for export to Ogre3D formats (pcr repo)'
+ 'blender-addon-yafaray: for optional renderer with YafaRay (pcr repo)')
+provides=("$pkgbase")
+conflicts=("$pkgbase" "$pkgbase-libre" "$pkgbase-libre-spacenav" "$pkgbase-spacenav-libre")
+replaces=("$pkgbase" "$pkgbase-libre" "$pkgbase-libre-spacenav" "$pkgbase-spacenav-libre")
+options=('!strip')
+install="$pkgbase.install"
+source=("http://download.$pkgbase.org/source/$pkgbase-$pkgver.tar.gz")
+md5sums=('fc1112adb493ea62e9587ca0e86d6b0d')
+
+#source=("git://git.$pkgbase.org/$pkgbase.git#tag=$pkgver"
+# "git://git.$pkgbase.org/$pkgbase-translations.git#tag=$pkgver"
+# "git://git.$pkgbase.org/$pkgbase-addons.git#tag=$pkgver"
+# "git://git.$pkgbase.org/$pkgbase-addons-contrib.git#tag=$pkgver"
+#md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
+
+prepare() {
+ cd $srcdir/$pkgbase-v$pkgver
+
+ msg 'renaming wrong OS name'
+ _OS=$(uname -o)
+ [[ $_OS == GNU ]] && sed -i 's|BUILD_PLATFORM;|"GNU";|' source/creator/buildinfo.c
+ [[ $_OS == GNU/Linux ]] && sed -i 's|BUILD_PLATFORM;|"GNU/Linux";|' source/creator/buildinfo.c
+ [[ $_OS == GNU/kFreeBSD ]] && sed -i 's|BUILD_PLATFORM;|"GNU/kFreeBSD";|' source/creator/buildinfo.c
+ sed -i 's|Linux, Mac OS X, Windows and FreeBSD|GNU and BSD|
+ s|Linux, FreeBSD|GNU and BSD|
+ s|Unpack the archive, Then run the Blender executable.|Install from Parabola repo (pacman -S '"$pkgname"'), Then run blender.|
+ \|Windows|d;\|Mac OS X|d
+ s|The downloaded Blender package includes|The '"${pkgname^}"' package includes|
+ ' release/text/readme.html
+ sed -i 's|Linux|GNU|
+ ' release/scripts/{addons/game_engine_save_as_runtime,modules/bl_i18n_utils/utils_rtl}.py
+ sed -i 's| (.so under Linux, .dll under windows...)| (.so under GNU or BSD, .dll under Wine or ReactOS...)|
+ ' release/scripts/{addons/ui_translate,modules/bl_i18n_utils}/settings.py
+
+ msg 'removing Open Source term'
+ sed -i 's|free, open source|free|
+ s|free and open-source|free|
+ s|open-source and free|free|
+ ' release/text/readme.html
+
+ msg 'fixing povray-libre path and desc'
+ sed -i "s|FILE_PATH',|FILE_PATH',\n default='/usr/bin/povray',|
+ s|both POV-Ray 3[.]7 and this script are beta|this script is beta|
+ " release/scripts/addons/render_povray/__init__.py
+
+ mkdir -v build
+}
+
+build() {
+ cd $srcdir/$pkgbase-v$pkgver/build
+
+ [[ $CARCH == x86_64 || $CARCH == i686 ]] && _SSE=ON _SSE2=ON || _SSE=OFF _SSE2=OFF
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_FLAGS_RELEASE="-fno-delete-null-pointer-checks -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELEASE="-fno-delete-null-pointer-checks -DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCYCLES_OSL=/usr \
+ -DLLVM_STATIC=OFF \
+ -DLLVM_VERSION=3.4 \
+ -DOPENIMAGEIO_ROOT_DIR=/usr \
+ -DOPENJPEG_INCLUDE_DIR=/usr/include/openjpeg-$_jpgver \
+ -DOSL_INCLUDES=/usr/include/OSL \
+ -DPYTHON_INCLUDE_DIRS=/usr/include/python${_pyver}m \
+ -DPYTHON_LIBPATH=/usr/lib \
+ -DPYTHON_LIBRARY=python${_pyver}m \
+ -DPYTHON_VERSION=$_pyver \
+ -DSUPPORT_SSE_BUILD=$_SSE \
+ -DSUPPORT_SSE2_BUILD=$_SSE2 \
+ -DWITH_AUDASPACE=ON \
+ -DWITH_BLENDER=ON \
+ -DWITH_BOOST=ON \
+ -DWITH_BOOST_ICU=OFF \
+ -DWITH_BUILDINFO=ON \
+ -DWITH_BULLET=ON \
+ -DWITH_CODEC_AVI=ON \
+ -DWITH_CODEC_FFMPEG=ON \
+ -DWITH_CODEC_SNDFILE=ON \
+ -DWITH_COMPOSITOR=ON \
+ -DWITH_CYCLES=ON \
+ -DWITH_CYCLES_CUDA_BINARIES=OFF \
+ -DWITH_CYCLES_OSL=OFF \
+ -DWITH_CYCLES_STANDALONE=ON \
+ -DWITH_CYCLES_STANDALONE_GUI=ON \
+ -DWITH_FFTW3=ON \
+ -DWITH_FREESTYLE=ON \
+ -DWITH_GAMEENGINE=ON \
+ -DWITH_GHOST_XDND=ON \
+ -DWITH_IK_ITASC=ON \
+ -DWITH_IK_SOLVER=ON \
+ -DWITH_IMAGE_CINEON=ON \
+ -DWITH_IMAGE_DDS=ON \
+ -DWITH_IMAGE_FRAMESERVER=ON \
+ -DWITH_IMAGE_HDR=ON \
+ -DWITH_IMAGE_OPENEXR=ON \
+ -DWITH_IMAGE_OPENJPEG=ON \
+ -DWITH_IMAGE_REDCODE=ON \
+ -DWITH_IMAGE_TIFF=ON \
+ -DWITH_INPUT_NDOF=OFF \
+ -DWITH_INSTALL_PORTABLE=OFF \
+ -DWITH_INTERNATIONAL=ON \
+ -DWITH_JACK=ON \
+ -DWITH_JACK_DYNLOAD=ON \
+ -DWITH_LIBMV=OFF \
+ -DWITH_LLVM=ON \
+ -DWITH_LZMA=ON \
+ -DWITH_LZO=ON \
+ -DWITH_MEM_JEMALLOC=OFF \
+ -DWITH_MEM_VALGRIND=OFF \
+ -DWITH_MOD_BOOLEAN=ON \
+ -DWITH_MOD_FLUID=ON \
+ -DWITH_MOD_OCEANSIM=ON \
+ -DWITH_MOD_REMESH=ON \
+ -DWITH_MOD_SMOKE=ON \
+ -DWITH_OPENAL=ON \
+ -DWITH_OPENIMAGEIO=ON \
+ -DWITH_OPENCOLLADA=ON \
+ -DWITH_OPENCOLORIO=ON \
+ -DWITH_OPENMP=ON \
+ -DWITH_PLAYER=ON \
+ -DWITH_PYTHON=ON \
+ -DWITH_PYTHON_INSTALL=OFF \
+ -DWITH_PYTHON_INSTALL_NUMPY=OFF \
+ -DWITH_PYTHON_INSTALL_REQUESTS=ON \
+ -DWITH_PYTHON_MODULE=OFF \
+ -DWITH_PYTHON_SAFETY=OFF \
+ -DWITH_PYTHON_SECURITY=ON \
+ -DWITH_RAYOPTIMIZATION=ON \
+ -DWITH_SDL=ON \
+ -DWITH_STATIC_LIBS=OFF \
+ -DWITH_SYSTEM_GLEW=ON \
+ -DWITH_SYSTEM_OPENJPEG=ON \
+ -DWITH_X11_XF86VMODE=ON \
+ -DWITH_X11_XINPUT=ON
+ #-DWITH_MOD_CLOTH_ELTOPO=ON\
+ #-DWITH_SYSTEM_BULLET=ON\
+ make
+}
+
+package() {
+ cd $srcdir/$pkgbase-v$pkgver/build
+
+ make DESTDIR=$pkgdir install
+ python -m compileall $pkgdir/usr/share/$pkgbase
+}
diff --git a/libre/blender-libre/blender.install b/libre/blender-parabola/blender.install
index 724bfce00..724bfce00 100644
--- a/libre/blender-libre/blender.install
+++ b/libre/blender-parabola/blender.install
diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD
index a6bc51d22..a90fe7638 100644
--- a/libre/lirc-parabola/PKGBUILD
+++ b/libre/lirc-parabola/PKGBUILD
@@ -7,16 +7,17 @@
_basekernel=3.16
_kernelname=
-_pkgname=lirc${_kernelname}-parabola
-pkgbase=${_pkgname%-*}
-pkgname=("$_pkgname" lirc-utils-parabola)
+
+pkgbase=lirc
+_pkgname=${pkgbase}${_kernelname}-parabola
+pkgname=("$_pkgname" "${pkgbase}-utils-parabola")
_pkgver=0.9.1a
[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
pkgrel=3.2
epoch=1
_extramodules=extramodules-${_basekernel}${_kernelname}
arch=('i686' 'x86_64' 'mips64el')
-url="http://www.lirc.org/"
+url="http://www.$pkgbase.org/"
license=('GPL')
# NOTICE: Don't forget to bump version in depends in package_lirc()!
makedepends=('help2man' 'alsa-lib' 'libx11' 'libftdi-compat' 'libirman' 'python2')
@@ -29,10 +30,10 @@ makedepends+=("linux-libre${_kernelname}>=${_basekernel}" "linux-libre${
options=('!makeflags' '!strip')
source=("http://prdownloads.sourceforge.net/${pkgbase}/${pkgbase}-${_pkgver}.tar.bz2"
wpc8769l-build-fix.patch
- lirc-0.9.1a-fix-segfaults.patch
- lirc.logrotate
+ ${pkgbase}-0.9.1a-fix-segfaults.patch
+ ${pkgbase}.logrotate
irexec.service
- lirc.tmpfiles)
+ ${pkgbase}.tmpfiles)
md5sums=('1f1fac162ed309dd50f307e96a292957'
'9ec33169b3407f74264062d7679dd269'
'cd00acf480e82a0bf050032732d0d733'
@@ -44,7 +45,7 @@ prepare() {
cd "${srcdir}/lirc-${_pkgver}"
patch -Np1 -i "${srcdir}/wpc8769l-build-fix.patch"
- patch -Np1 -i "${srcdir}/lirc-0.9.1a-fix-segfaults.patch"
+ patch -Np1 -i "${srcdir}/${pkgbase}-0.9.1a-fix-segfaults.patch"
sed -i '/AC_PATH_XTRA/d' configure.ac
sed -e 's/@X_CFLAGS@//g' \
@@ -57,7 +58,7 @@ prepare() {
}
build() {
- cd "${srcdir}/lirc-${_pkgver}"
+ cd "${srcdir}/${pkgbase}-${_pkgver}"
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
PYTHON=python2 ./configure --enable-sandboxed --prefix=/usr \
@@ -76,14 +77,14 @@ build() {
_package_lirc-parabola() {
pkgdesc="Linux Infrared Remote Control kernel modules (built for the linux-libre${_kernelname} kernel package)"
- depends=('lirc-utils' "linux-libre${_kernelname}>=${_basekernel}" "linux-libre${_kernelname}<${_toohigh}")
- replaces=('lirc+pctv')
+ depends=("${pkgbase}-utils" "linux-libre${_kernelname}>=${_basekernel}" "linux-libre${_kernelname}<${_toohigh}")
+ replaces=("${pkgbase}+pctv")
install=kmod.install
- replaces+=("lirc${_kernelname}" "lirc-libre${_kernelname}")
- conflicts+=("lirc${_kernelname}" "lirc-libre${_kernelname}")
- provides+=("lirc${_kernelname}=${pkgver}")
+ replaces+=("${pkgbase}${_kernelname}" "${pkgbase}-libre${_kernelname}" "${pkgbase}-parabola${_kernelname}")
+ conflicts+=("${pkgbase}${_kernelname}" "${pkgbase}-libre${_kernelname}" "${pkgbase}-parabola${_kernelname}")
+ provides+=("${pkgbase}${_kernelname}=${pkgver}")
- cd "${srcdir}/lirc-${_pkgver}/drivers"
+ cd "${srcdir}/${pkgbase}-${_pkgver}/drivers"
make DESTDIR="${pkgdir}" moduledir="/usr/lib/modules/${_extramodules}" install
gzip -9 "${pkgdir}/usr/lib/modules/${_extramodules}"/*.ko
@@ -100,24 +101,24 @@ package_lirc-utils-parabola() {
depends=('alsa-lib' 'libx11' 'libftdi-compat' 'libirman')
optdepends=('python2: pronto2lirc utility')
options=('strip')
- backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf')
- replaces=('lirc-utils' 'lirc-libre-utils')
- conflicts=('lirc-utils' 'lirc-libre-utils')
- provides=("lirc-utils=$pkgver")
- install=lirc-utils.install
+ backup=("etc/${pkgbase}/${pkgbase}_options.conf" "etc/${pkgbase}/${pkgbase}d.conf" "etc/${pkgbase}/${pkgbase}md.conf")
+ replaces=("${pkgbase}-utils" "${pkgbase}-libre-utils")
+ conflicts=("${pkgbase}-utils" "${pkgbase}-libre-utils")
+ provides=("${pkgbase}-utils=$pkgver")
+ install=${pkgbase}-utils.install
- cd "${srcdir}/lirc-${_pkgver}"
+ cd "${srcdir}/${pkgbase}-${_pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 "${srcdir}"/irexec.service "${pkgdir}"/usr/lib/systemd/system/irexec.service
- install -Dm644 "${srcdir}"/lirc.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lirc.conf
+ install -Dm644 "${srcdir}"/${pkgbase}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgbase}.conf
- cp -rp remotes "${pkgdir}/usr/share/lirc"
- chmod -R go-w "${pkgdir}/usr/share/lirc/"
+ cp -rp remotes "${pkgdir}/usr/share/${pkgbase}"
+ chmod -R go-w "${pkgdir}/usr/share/${pkgbase}/"
# install the logrotate config
- install -Dm644 "${srcdir}/lirc.logrotate" "${pkgdir}/etc/logrotate.d/lirc"
+ install -Dm644 "${srcdir}/${pkgbase}.logrotate" "${pkgdir}/etc/logrotate.d/${pkgbase}"
# remove built modules
rm -r "${pkgdir}/usr/lib/modules"