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