Merge branch 'master' into 'master'
xdg-utils ve gerekli paketler See merge request turkman/packages/main!66
This commit is contained in:
commit
60a5860dfb
6 files changed
+219
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
name='xmlto'
|
||||
release='1'
|
||||
version='0.0.28'
|
||||
url='https://pagure.io/xmlto/'
|
||||
description='Convert xml to many other formats'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPL')
|
||||
source=("https://releases.pagure.org/xmlto/xmlto-$version.tar.bz2")
|
||||
depends=(libxslt)
|
||||
makedepends=(docbook-xsl)
|
||||
md5sums=('93bab48d446c826399d130d959fe676f')
|
||||
group=(app.text)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/usr/bin/env bash
|
||||
name='lynx'
|
||||
release='1'
|
||||
version='2.8.9'
|
||||
_relver=${version}rel.1
|
||||
url='https://lynx.invisible-island.net/'
|
||||
description='A text browser for the World Wide Web'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPL')
|
||||
source=("https://invisible-mirror.net/archives/lynx/tarballs/lynx$_relver.tar.bz2"
|
||||
'CVE-2021-38165.diff')
|
||||
depends=(libidn2 ncurses openssl)
|
||||
makedepends=()
|
||||
md5sums=('44316f1b8a857b59099927edc26bef79' 'SKIP')
|
||||
group=(www.client)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name$_relver
|
||||
|
||||
patch --forward --strip=1 --input="./CVE-2021-38165.diff"
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/ \
|
||||
--sysconfdir=/etc \
|
||||
--with-ssl=/usr \
|
||||
--enable-nls \
|
||||
--enable-ipv6
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make DESTDIR="$DESTDIR" install $jobs
|
||||
sed -i -e "s|^HELPFILE.*$|HELPFILE:file:///usr/share/doc/lynx/lynx_help/lynx_help_main.html|" "${DESTDIR}/etc/lynx.cfg"
|
||||
|
||||
install -d "${DESTDIR}/usr/share/doc/lynx"
|
||||
cp -rf lynx_help "${DESTDIR}/usr/share/doc/lynx"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
name='xorg-xprop'
|
||||
release='1'
|
||||
version='1.2.6'
|
||||
url='https://xorg.freedesktop.org/'
|
||||
description='Property displayer for X'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('custom')
|
||||
source=(https://xorg.freedesktop.org/archive/individual/app/xprop-${version}.tar.xz{,.sig})
|
||||
depends=(libX11)
|
||||
makedepends=(util-macros)
|
||||
md5sums=('33c090d8632a300e63efbf36edd6a333' 'SKIP')
|
||||
group=(x11.apps)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "xprop"-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make DESTDIR="${DESTDIR}" install $jobs
|
||||
install -m755 -d "${DESTDIR}/usr/share/licenses/${name}"
|
||||
install -m644 COPYING "${DESTDIR}/usr/share/licenses/${name}/"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
name='xorg-xset'
|
||||
release='1'
|
||||
version='1.2.5'
|
||||
url='https://xorg.freedesktop.org/'
|
||||
description='User preference utility for X'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('custom')
|
||||
source=(https://xorg.freedesktop.org/archive/individual/app/xset-$version.tar.xz{,.sig})
|
||||
depends=(libXmu)
|
||||
makedepends=(util-macros)
|
||||
md5sums=('18ff5cdff59015722431d568a5c0bad2' 'SKIP')
|
||||
group=(x11.apps)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "xset"-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/ \
|
||||
--without-fontcache
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make DESTDIR="$DESTDIR" install
|
||||
install -m755 -d "$DESTDIR/usr/share/licenses/$name"
|
||||
install -m644 COPYING "$DESTDIR/usr/share/licenses/$name/"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
name='xdg-menu'
|
||||
release='1'
|
||||
version='0.7.6.3'
|
||||
url='https://wiki.archlinux.org/index.php/XdgMenu'
|
||||
description='automatic generate WM menu from xdg files'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPL')
|
||||
source=("https://arch.p5n.pp.ru/~sergej/dl/2018/arch-xdg-menu-$version.tar.gz")
|
||||
depends=(perl perl-xml-parser)
|
||||
makedepends=()
|
||||
md5sums=('153c5fd93c04f6b06c6535196fed1279')
|
||||
group=(x11.misc)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
install -D -m 0755 xdg_menu "$DESTDIR"/usr/bin/xdg_menu
|
||||
install -D -m 0755 xdg_menu_su "$DESTDIR"/usr/bin/xdg_menu_su
|
||||
install -D -m 0755 update-menus "$DESTDIR"/usr/bin/update-menus
|
||||
install -D -m 0644 update-menus.conf "$DESTDIR"/etc/update-menus.conf
|
||||
}
|
||||
|
||||
package(){
|
||||
mkdir -p "$DESTDIR"/usr/share/desktop-directories/
|
||||
cp arch-desktop-directories/* "$DESTDIR"/usr/share/desktop-directories/
|
||||
mkdir -p "$DESTDIR"/etc/xdg/menus/
|
||||
cp arch-xdg-menu/* "$DESTDIR"/etc/xdg/menus/
|
||||
mkdir -p "$DESTDIR"//var/cache/xdg-menu
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/env bash
|
||||
name='xdg-utils'
|
||||
release='1'
|
||||
version='1.1.3'
|
||||
url='https://www.freedesktop.org/wiki/Software/xdg-utils/'
|
||||
description='Command line tools that assist applications with a variety of desktop integration tasks'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('GPLv3')
|
||||
source=("https://portland.freedesktop.org/download/xdg-utils-$version.tar.gz"
|
||||
"https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/21.patch")
|
||||
depends=(file xorg-xset xorg-xprop)
|
||||
makedepends=(docbook-xsl lynx xmlto git)
|
||||
md5sums=('902042508b626027a3709d105f0b63ff' '31376a25c58f023d1bcbbb79afa9c3da')
|
||||
group=(x11.misc)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
patch -Np1 -i ../21.patch
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/ \
|
||||
#--docdir=
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make DESTDIR="$DESTDIR" install
|
||||
install -D -m644 LICENSE "$DESTDIR/usr/share/licenses/$name/LICENSE"
|
||||
|
||||
# install empty directory to prevent xdg-desktop-menu install *.desktop to fail, see FS#33316
|
||||
install -dm755 "$DESTDIR"/usr/share/desktop-directories
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user