Commit 0948374a authored by Helmut Stult's avatar Helmut Stult
Browse files

[pkg-upd] 4.8.0-2

parent 5044d4a9
......@@ -13,8 +13,8 @@ pkgname=('nemo-fileroller'
'nemo-seahorse'
'nemo-share'
'nemo-terminal')
pkgver=4.6.0
pkgrel=1.1
pkgver=4.8.0
pkgrel=2
pkgdesc="Various extensions for Nemo"
arch=('x86_64')
license=('GPL2')
......@@ -27,8 +27,7 @@ makedepends=('intltool' 'gobject-introspection' 'meson' 'samurai')
makedepends+=("${_preview_deps[@]}" "${_python_deps[@]}" "${_seahorse_deps[@]}")
options=('!emptydirs')
source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('f656a65ebb4454180f5dcddbb063c14410f38125151e762fc695993685d64edd')
b2sums=('83ce84f78a1b991edc7eca156ce7ddb792b70e467004671a00a713227488ca96576c9ab280805eff71090dc47b6eecfdeec636aa4e20d046e38241cba95de987')
sha256sums=('1b7b85b41c659fe0f93a9b83fadb81a7934c7e7cb2df9eda4a03413b7f5d05c4')
prepare() {
cd "${srcdir}"/${pkgbase}-${pkgver}
......@@ -51,25 +50,29 @@ build() {
cd "${srcdir}"/${pkgbase}-${pkgver}
for _dir in "${pkgname[@]}"; do
if ! [[ -f ${_dir}/configure ]]; then
continue
if [[ -f ${_dir}/configure ]]; then
pushd ${_dir}
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/${_dir} \
--disable-schemas-compile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' \
-e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
make
popd
elif [[ -f ${_dir}/meson.build ]]; then
mkdir -p ${_dir}/builddir
pushd ${_dir}/builddir
meson --prefix=/usr \
--libexecdir=lib/${_dir} \
--buildtype=plain \
..
samu
popd
fi
pushd ${_dir}
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/${_dir} \
--disable-schemas-compile
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
make
popd
done
mkdir -p nemo-python/build
pushd nemo-python/build
meson --prefix=/usr --buildtype=plain ..
samu
}
package_nemo-fileroller(){
......@@ -95,15 +98,15 @@ package_nemo-preview(){
depends+=("${_preview_deps[@]}")
optdepends=('cinnamon-translations: i18n')
cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
make DESTDIR="${pkgdir}" install
cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
DESTDIR="${pkgdir}" samu install
}
package_nemo-python() {
pkgdesc="Python3 binding for Nemo components"
depends+=("${_python_deps[@]}")
cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/build
cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
DESTDIR="${pkgdir}" samu install
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment