Various Packages: change TAB to SPACE.
This commit is contained in:
parent
28e7e8adcd
commit
eaef30af36
9 changed files with 95 additions and 95 deletions
|
@ -16,40 +16,40 @@ build_options="customico"
|
||||||
desc_option_customico="Enable support for Custom Icons Themes"
|
desc_option_customico="Enable support for Custom Icons Themes"
|
||||||
|
|
||||||
if [ "$build_option_customico" ]; then
|
if [ "$build_option_customico" ]; then
|
||||||
depends="zenity xdg-utils ImageMagick"
|
depends="zenity xdg-utils ImageMagick"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir "usr/share/icons"
|
vmkdir "usr/share/icons"
|
||||||
for _theme in AwOken{,Dark,White}.tar.gz; do
|
for _theme in AwOken{,Dark,White}.tar.gz; do
|
||||||
tar --no-same-owner -xzf "$_theme" -C "${DESTDIR}/usr/share/icons/"
|
tar --no-same-owner -xzf "$_theme" -C "${DESTDIR}/usr/share/icons/"
|
||||||
done
|
done
|
||||||
find "${DESTDIR}" -type d -exec chmod 755 '{}' \;
|
find "${DESTDIR}" -type d -exec chmod 755 '{}' \;
|
||||||
find "${DESTDIR}" -type f -exec chmod 644 '{}' \;
|
find "${DESTDIR}" -type f -exec chmod 644 '{}' \;
|
||||||
if [ "$build_option_customico" ]; then
|
if [ "$build_option_customico" ]; then
|
||||||
vmkdir "usr/bin"
|
vmkdir "usr/bin"
|
||||||
find "${DESTDIR}" -name awoken-icon-theme-customization\* -exec chmod 755 '{}' \;
|
find "${DESTDIR}" -name awoken-icon-theme-customization\* -exec chmod 755 '{}' \;
|
||||||
ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization "${DESTDIR}/usr/bin/"
|
ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization "${DESTDIR}/usr/bin/"
|
||||||
ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization-clear "${DESTDIR}/usr/bin/"
|
ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization-clear "${DESTDIR}/usr/bin/"
|
||||||
ln -sf /usr/share/icons/AwOkenDark/awoken-icon-theme-customization-dark "${DESTDIR}/usr/bin/"
|
ln -sf /usr/share/icons/AwOkenDark/awoken-icon-theme-customization-dark "${DESTDIR}/usr/bin/"
|
||||||
ln -sf /usr/share/icons/AwOkenWhite/awoken-icon-theme-customization-white "${DESTDIR}/usr/bin/"
|
ln -sf /usr/share/icons/AwOkenWhite/awoken-icon-theme-customization-white "${DESTDIR}/usr/bin/"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
awoken-icons-dark_package() {
|
awoken-icons-dark_package() {
|
||||||
depends="awoken-icons>=${version}"
|
depends="awoken-icons>=${version}"
|
||||||
short_desc+=" - Dark icons"
|
short_desc+=" - Dark icons"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share/icons/AwOkenDark/
|
vmove usr/share/icons/AwOkenDark/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
awoken-icons-white_package() {
|
awoken-icons-white_package() {
|
||||||
depends="awoken-icons>=${version}"
|
depends="awoken-icons>=${version}"
|
||||||
short_desc+=" - White icons"
|
short_desc+=" - White icons"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/share/icons/AwOkenWhite/
|
vmove usr/share/icons/AwOkenWhite/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,11 +14,11 @@ short_desc="Library that implements a custom algorithm for extracting fingerprin
|
||||||
|
|
||||||
|
|
||||||
chromaprint-devel_package() {
|
chromaprint-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Template build file for 'exiftool'.
|
# Template build file for 'exiftool'
|
||||||
pkgname=exiftool
|
pkgname=exiftool
|
||||||
version=9.53
|
version=9.53
|
||||||
revision=1
|
revision=1
|
||||||
|
|
|
@ -13,10 +13,10 @@ license="GPL"
|
||||||
short_desc="A free software library that implements the rsync remote-delta algorithm (rdiff)"
|
short_desc="A free software library that implements the rsync remote-delta algorithm (rdiff)"
|
||||||
|
|
||||||
librsync-devel_package() {
|
librsync-devel_package() {
|
||||||
short_desc+=" - Development files"
|
short_desc+=" - Development files"
|
||||||
depends="librsync-${version}_${revision}"
|
depends="librsync-${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,23 +15,23 @@ short_desc="Multi-threaded compression using the rzip/lzma, lzo, and zpaq algori
|
||||||
create_srcdir="yes"
|
create_srcdir="yes"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
lrzip-devel_package() {
|
lrzip-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="liblrzip-${version}_${revision}"
|
depends="liblrzip-${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
liblrzip_package() {
|
liblrzip_package() {
|
||||||
short_desc+=" - runtime library"
|
short_desc+=" - runtime library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,5 +15,5 @@ short_desc="Combines the functionality of traceroute and ping into one tool (CLI
|
||||||
create_srcdir="yes"
|
create_srcdir="yes"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,40 +69,40 @@ conf_files="
|
||||||
|
|
||||||
|
|
||||||
do_build(){
|
do_build(){
|
||||||
for product in ${pkgname}{-core,6,}-${version}; do
|
for product in ${pkgname}{-core,6,}-${version}; do
|
||||||
cd ${wrksrc}/${product}
|
cd ${wrksrc}/${product}
|
||||||
./configure HOST=archlinux SBINDIR=/usr/bin
|
./configure HOST=archlinux SBINDIR=/usr/bin
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd ${wrksrc}/${pkgname}-${version}
|
cd ${wrksrc}/${pkgname}-${version}
|
||||||
DESTDIR="${DESTDIR}" ./install.sh
|
DESTDIR="${DESTDIR}" ./install.sh
|
||||||
vmkdir usr/share/doc/${pkgname}
|
vmkdir usr/share/doc/${pkgname}
|
||||||
cp -r Samples ${PKGDESTDIR}/usr/share/doc/${pkgname}
|
cp -r Samples ${PKGDESTDIR}/usr/share/doc/${pkgname}
|
||||||
}
|
}
|
||||||
|
|
||||||
shorewall-core_package() {
|
shorewall-core_package() {
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
depends="iptables iproute2"
|
depends="iptables iproute2"
|
||||||
short_desc+=" - Core Shorewall libraries"
|
short_desc+=" - Core Shorewall libraries"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
cd ${wrksrc}/${pkgname}-${version}
|
cd ${wrksrc}/${pkgname}-${version}
|
||||||
DESTDIR="${PKGDESTDIR}" ./install.sh
|
DESTDIR="${PKGDESTDIR}" ./install.sh
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
shorewall6_package() {
|
shorewall6_package() {
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
depends="shorewall"
|
depends="shorewall"
|
||||||
short_desc+=" - IPv6 support"
|
short_desc+=" - IPv6 support"
|
||||||
systemd_services="${pkgname}.service off"
|
systemd_services="${pkgname}.service off"
|
||||||
make_dirs="/var/lib/${pkgname} 0755 0 0"
|
make_dirs="/var/lib/${pkgname} 0755 0 0"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
cd ${wrksrc}/${pkgname}-${version}
|
cd ${wrksrc}/${pkgname}-${version}
|
||||||
DESTDIR="${PKGDESTDIR}" ./install.sh
|
DESTDIR="${PKGDESTDIR}" ./install.sh
|
||||||
}
|
}
|
||||||
for f in ${PKGDESTDIR}/etc/${pkgname}/*; do
|
for f in ${PKGDESTDIR}/etc/${pkgname}/*; do
|
||||||
conf_files+="${f##${PKGDESTDIR}} "
|
conf_files+="${f##${PKGDESTDIR}} "
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,13 +15,13 @@ short_desc="Modular widget library for window managers"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall LICENSE 644 "usr/share/licenses/${pkgname}/"
|
vinstall LICENSE 644 "usr/share/licenses/${pkgname}/"
|
||||||
vinstall CHANGES 644 "usr/share/doc/${pkgname}/"
|
vinstall CHANGES 644 "usr/share/doc/${pkgname}/"
|
||||||
vmkdir "usr/share/lua/5.2/${pkgname}/widgets"
|
vmkdir "usr/share/lua/5.2/${pkgname}/widgets"
|
||||||
vmkdir "usr/share/lua/5.2/${pkgname}/contrib"
|
vmkdir "usr/share/lua/5.2/${pkgname}/contrib"
|
||||||
vinstall TODO 644 "usr/share/doc/${pkgname}"
|
vinstall TODO 644 "usr/share/doc/${pkgname}"
|
||||||
vinstall README 644 "usr/share/doc/${pkgname}"
|
vinstall README 644 "usr/share/doc/${pkgname}"
|
||||||
install -m644 *.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}"
|
install -m644 *.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}"
|
||||||
install -m644 widgets/*.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}/widgets"
|
install -m644 widgets/*.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}/widgets"
|
||||||
install -m644 contrib/*.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}/contrib"
|
install -m644 contrib/*.lua "${DESTDIR}/usr/share/lua/5.2/${pkgname}/contrib"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,8 @@ license="GPL"
|
||||||
short_desc="A tiny monitor calibration loader for X.org"
|
short_desc="A tiny monitor calibration loader for X.org"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall xcalib 755 usr/bin
|
vinstall xcalib 755 usr/bin
|
||||||
for file in README *.icc *.icm; do
|
for file in README *.icc *.icm; do
|
||||||
vinstall "$file" 644 usr/share/xcalib
|
vinstall "$file" 644 usr/share/xcalib
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue