added autogen ncompress patchutils

upg booster cmocka cscope dconf docbook-xml duktape pahole tmux
This commit is contained in:
joborun linux 2024-07-12 15:08:48 +03:00
parent b6c4cfc9c0
commit d3bc4c99e8
41 changed files with 481 additions and 63 deletions

View file

@ -0,0 +1,19 @@
Description: Sanitize file/directory permissions and owner in libopts
tarball. Override mtime with ${BUILD_DATE} which is exported in debian/rules.
Avoid gzip timestamp.
Author: Andreas Metzler <ametzler@debian.org>
Origin: vendor
Forwarded: no
Last-Update: 2018-07-19
--- a/pkg/libopts/mklibsrc.sh
+++ b/pkg/libopts/mklibsrc.sh
@@ -123,7 +123,7 @@ echo ! tar cvf ${tag}.${sfx} ${tag}
rbopts=""
[ -z "$SOURCE_DATE_EPOCH" ] \
|| ! tar --help|grep -q sort= \
- || rbopts="--sort=name --format=gnu --clamp-mtime --mtime @$SOURCE_DATE_EPOCH"
+ || rbopts="--sort=name --format=gnu --clamp-mtime --mtime @$SOURCE_DATE_EPOCH --owner=root --group=root --mode=u+w,g-w,a+r"
tar cvf - $rbopts ${tag} | \
$gz > ${top_builddir}/autoopts/${tag}.${sfx}

75
autogen/PKGBUILD Normal file
View file

@ -0,0 +1,75 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=autogen
pkgver=5.18.16
pkgrel=05
pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
url="https://www.gnu.org/software/autogen/"
depends=('guile' 'libxml2' 'perl')
makedepends=(autogen chrpath automake autoconf gettext)
source=(https://ftp.gnu.org/gnu/${pkgname}/rel${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig}
guile-3.0.patch
10_libopts_tarball_perms.diff)
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ${srcdir}/guile-3.0.patch
# Reproducible man page generation
export MAN_PAGE_DATE=$(LC_ALL=C date -u -d '@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)
patch -Np1 -i ${srcdir}/10_libopts_tarball_perms.diff
sed -i 's/ -Werror / /' configure
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--disable-dependency-tracking
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check -j1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# Remove unrequired RPATH from binaries
for i in ${pkgdir}/usr/bin/*; do
if chrpath --list "$i"; then
chrpath --delete "$i";
fi
done
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL3')
validpgpkeys=('44A088E295C3A722C450590EC9EF76DEB74EE762'
'3EEE51D1355B8EC40D9F3122495143D05D0712D1') # Bruce Korb <bkorb@gnu.org>
sha512sums=('5f12c982dbe27873f5649a96049bf019ff183c90cc0c8a9196556b0ca02e72940cd422f6d6601f68cc7d8763b1124f2765c3b1a6335fc92ba07f84b03d2a53a1'
'SKIP'
'4864c9f20448b7eea0e36b35b15408baf5485f77fe7b1e9181c5636ab30c6871c74c654da05c6b84c8e6a057531c234a6a1e263b7465d54842c04bfc9c5b821d'
'687a725cc901b4acaa73e4503c933b949a99264647e0829902f3d9c7bc62867268cabdf2c31fe10dcfdec9b69397ef27592196b097e3c19c6b714ef84d4060a4')
sha256sums=(f8a13466b48faa3ba99fe17a069e71c9ab006d9b1cfabe699f8c60a47d5bb49a # autogen-5.18.16.tar.xz
ac5ce9851d4b925a3f0821d9b24ab40032853e7e30d038a0a0b99e43921ed35f # autogen-5.18.16.tar.xz.sig
b8ab403ba6d0bf6d3391fbb24e41ee996eb2161081058e03f53d3340d3e36885 # guile-3.0.patch
d5fefc17ee1e44783b5340f424f9644d0dca4531b47f2be7c3e58645414729a3) # 10_libopts_tarball_perms.diff
## 8072bc2d4aac4bbf4169316ac39deabeb320ea4b2827f9db056c32d6d23eb3f3 autogen-5.18.16-05-x86_64.pkg.tar.lz

55
autogen/PKGBUILD-arch Normal file
View file

@ -0,0 +1,55 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Arjan Timmerman <arjan@soufly.nl>
# Contributor: Tor Krill
pkgname=autogen
pkgver=5.18.16
pkgrel=5
pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
arch=('x86_64')
url="https://www.gnu.org/software/autogen/"
license=('GPL3')
depends=('guile' 'libxml2' 'perl')
makedepends=('autogen' 'chrpath')
source=(https://ftp.gnu.org/gnu/${pkgname}/rel${pkgver}/${pkgname}-${pkgver}.tar.xz{,.sig}
guile-3.0.patch
10_libopts_tarball_perms.diff)
validpgpkeys=('44A088E295C3A722C450590EC9EF76DEB74EE762'
'3EEE51D1355B8EC40D9F3122495143D05D0712D1') # Bruce Korb <bkorb@gnu.org>
sha512sums=('5f12c982dbe27873f5649a96049bf019ff183c90cc0c8a9196556b0ca02e72940cd422f6d6601f68cc7d8763b1124f2765c3b1a6335fc92ba07f84b03d2a53a1'
'SKIP'
'4864c9f20448b7eea0e36b35b15408baf5485f77fe7b1e9181c5636ab30c6871c74c654da05c6b84c8e6a057531c234a6a1e263b7465d54842c04bfc9c5b821d'
'687a725cc901b4acaa73e4503c933b949a99264647e0829902f3d9c7bc62867268cabdf2c31fe10dcfdec9b69397ef27592196b097e3c19c6b714ef84d4060a4')
prepare() {
cd $pkgname-$pkgver
patch -Np1 -i ${srcdir}/guile-3.0.patch
# Reproducible man page generation
export MAN_PAGE_DATE=$(LC_ALL=C date -u -d '@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)
patch -Np1 -i ${srcdir}/10_libopts_tarball_perms.diff
sed -i 's/ -Werror / /' configure
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check -j1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# Remove unrequired RPATH from binaries
for i in ${pkgdir}/usr/bin/*; do
if chrpath --list "$i"; then
chrpath --delete "$i";
fi
done
}

1
autogen/clean Normal file
View file

@ -0,0 +1 @@
rm -rf {src,pkg,autoge*tar.xz*}

8
autogen/deps Normal file
View file

@ -0,0 +1,8 @@
libxml2
autogen
chrpath
automake
autoconf
gettext

50
autogen/guile-3.0.patch Normal file
View file

@ -0,0 +1,50 @@
# Patch origin: https://sourceforge.net/p/autogen/bugs/196/#1a10
Index: autogen-5.18.16/agen5/guile-iface.h
===================================================================
--- autogen-5.18.16.orig/agen5/guile-iface.h
+++ autogen-5.18.16/agen5/guile-iface.h
@@ -9,16 +9,13 @@
# error AutoGen does not work with this version of Guile
choke me.
-#elif GUILE_VERSION < 203000
+#else
# define AG_SCM_IS_PROC(_p) scm_is_true( scm_procedure_p(_p))
# define AG_SCM_LIST_P(_l) scm_is_true( scm_list_p(_l))
# define AG_SCM_PAIR_P(_p) scm_is_true( scm_pair_p(_p))
# define AG_SCM_TO_LONG(_v) scm_to_long(_v)
# define AG_SCM_TO_ULONG(_v) ((unsigned long)scm_to_ulong(_v))
-#else
-# error unknown GUILE_VERSION
- choke me.
#endif
#endif /* MUTATING_GUILE_IFACE_H_GUARD */
Index: autogen-5.18.16/configure
===================================================================
--- autogen-5.18.16.orig/configure
+++ autogen-5.18.16/configure
@@ -14798,7 +14798,7 @@ $as_echo "no" >&6; }
PKG_CONFIG=""
fi
fi
- _guile_versions_to_search="2.2 2.0 1.8"
+ _guile_versions_to_search="3.0 2.2 2.0 1.8"
if test -n "$GUILE_EFFECTIVE_VERSION"; then
_guile_tmp=""
for v in $_guile_versions_to_search; do
Index: autogen-5.18.16/config/guile.m4
===================================================================
--- autogen-5.18.16.orig/config/guile.m4
+++ autogen-5.18.16/config/guile.m4
@@ -61,7 +61,7 @@
#
AC_DEFUN([GUILE_PKG],
[PKG_PROG_PKG_CONFIG
- _guile_versions_to_search="m4_default([$1], [2.2 2.0 1.8])"
+ _guile_versions_to_search="m4_default([$1], [3.0 2.2 2.0 1.8])"
if test -n "$GUILE_EFFECTIVE_VERSION"; then
_guile_tmp=""
for v in $_guile_versions_to_search; do

1
autogen/key Normal file
View file

@ -0,0 +1 @@
gpg -v --recv-key 495143D05D0712D1

4
autogen/time Normal file
View file

@ -0,0 +1,4 @@
real 2m54.962s
user 0m44.055s
sys 0m5.400s

View file

@ -7,7 +7,7 @@
pkgname=booster
pkgver=0.11
pkgrel=01
pkgrel=02
pkgdesc='Fast and secure initramfs generator'
url='https://github.com/anatol/booster'
depends=(bash)
@ -76,5 +76,5 @@ sha512sums=('66443568c504d563d5a774dd25d47d72ec745cad2b77fea3cbf881b51ed1ecfa093
sha256sums=(82fb76c63c609eca6390d6b5d02a91839924083294b2b8f63e06b1ec61d71625) # booster-0.11.zip
## f9b2421e80587c29e0a257faabeb05cc7355d42e31e4b2b8ee83d1d6d913a427 booster-0.11-01-x86_64.pkg.tar.lz
## 30256990c35405036d68d251367b6d5c497d3aa09cda2c1c3733f383de61ec2d booster-0.11-02-x86_64.pkg.tar.lz

View file

@ -2,7 +2,7 @@
pkgname=booster
pkgver=0.11
pkgrel=1
pkgrel=2
pkgdesc='Fast and secure initramfs generator'
arch=(x86_64)
url='https://github.com/anatol/booster'

View file

@ -7,7 +7,7 @@
pkgname=cmocka
pkgver=1.1.7
pkgrel=01
pkgrel=02
pkgdesc='Elegant unit testing framework for C with support for mock objects'
url='https://cmocka.org/'
depends=('glibc')
@ -51,5 +51,4 @@ validpgpkeys=('8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D') # Andreas Schneider <a
sha256sums=(810570eb0b8d64804331f82b29ff47c790ce9cd6b163e98d47a4807047ecad82 # cmocka-1.1.7.tar.xz
607e9efb2216d9bb6bf90fe3d12b32f56e71c9f89e5340e8141b313b6a2e63eb) # cmocka-1.1.7.tar.xz.asc
## 06e060b01779e7a472c7f07e9a29ae1d68e40df5a04ab70f23db9e56b82da4f6 cmocka-1.1.7-01-x86_64.pkg.tar.lz
## 542904b90d26ea59191dad820c579c12bf2ca8669c4a1f641a606c967429ee75 cmocka-1.1.7-02-x86_64.pkg.tar.lz

View file

@ -3,7 +3,7 @@
pkgname=cmocka
pkgver=1.1.7
pkgrel=1
pkgrel=2
pkgdesc='Elegant unit testing framework for C with support for mock objects'
url='https://cmocka.org/'
arch=('x86_64')

View file

@ -1 +1,3 @@
cmake

View file

@ -7,10 +7,9 @@
pkgname=cscope
pkgver=15.9
pkgrel=02
pkgrel=03
pkgdesc="A developers tool for browsing program code"
src="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
arch=('x86_64')
url="http://cscope.sourceforge.net/"
depends=('ncurses' 'sh')
source=("https://sourceforge.net/projects/cscope/files/cscope/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
@ -35,8 +34,13 @@ package() {
install -m755 cscope-indexer "${pkgdir}"/usr/bin
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('BSD')
sha256sums=(c5505ae075a871a9cd8d9801859b0ff1c09782075df281c72c23e72115d9f159) # cscope-15.9.tar.gz
## fcc017d0ad4feeaf4a9ab1467991345b4b983d4ee8f2da0a9fa00bc708fb45ef cscope-15.9-03-x86_64.pkg.tar.lz

View file

@ -5,7 +5,7 @@
pkgname=cscope
pkgver=15.9
pkgrel=2
pkgrel=3
pkgdesc="A developers tool for browsing program code"
arch=('x86_64')
url="http://cscope.sourceforge.net/"

View file

@ -1 +1,2 @@

View file

@ -7,12 +7,11 @@
pkgname=dconf
pkgver=0.40.0
pkgrel=02
pkgrel=03
pkgdesc="Configuration database system w/o systemd"
url="https://wiki.gnome.org/Projects/dconf"
arch=(x86_64)
depends=(glib2)
makedepends=(vala dbus git gtk-doc python meson bash-completion)
makedepends=(vala dbus git glib2-devel gtk-doc python meson bash-completion)
provides=(libdconf.so)
install=dconf.install
_commit=4c0a26052efafae923eba42d14c5cb88da745de2 # tags/0.40.0^0
@ -21,7 +20,8 @@ source=("git+https://gitlab.gnome.org/GNOME/dconf.git#commit=$_commit"
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
# git describe --tags | sed 's/-/+/g'
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
@ -51,10 +51,15 @@ package() {
rm -rf $pkgdir/usr/lib/systemd
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(LGPL)
sha256sums=(SKIP
330142605370f82f4229e8a94b245f911407eb629b50f1497f415c70164a90ec # dconf-update
sha256sums=(95950fd56770c110b6e4883851858646ab2d7a69bf33d4e3b0fbfd16b62b27bf # dconf
330142605370f82f4229e8a94b245f911407eb629b50f1497f415c70164a90ec # dconf-update
8d02176ff001a13d15a7ac087edd2502725494668933fa2c6e6f9cb21ae24e6b) # dconf-update.hook
## 1cb2ae891be0069ffbb3788680cc90c8783bc61d9bc47b3a5217c48f248e5656 dconf-0.40.0-03-x86_64.pkg.tar.lz

View file

@ -3,13 +3,13 @@
pkgname=dconf
pkgver=0.40.0
pkgrel=1
pkgrel=3
pkgdesc="Configuration database system"
url="https://wiki.gnome.org/Projects/dconf"
arch=(x86_64)
license=(LGPL)
depends=(glib2)
makedepends=(vala dbus git gtk-doc python meson bash-completion)
makedepends=(vala dbus git glib2-devel gtk-doc python meson bash-completion)
provides=(libdconf.so)
install=dconf.install
_commit=4c0a26052efafae923eba42d14c5cb88da745de2 # tags/0.40.0^0
@ -20,16 +20,16 @@ sha256sums=('SKIP'
'8d02176ff001a13d15a7ac087edd2502725494668933fa2c6e6f9cb21ae24e6b')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
cd dconf
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
cd dconf
}
build() {
arch-meson $pkgname build -D gtk_doc=true
arch-meson dconf build -D gtk_doc=true
meson compile -C build
}
@ -38,7 +38,8 @@ check() {
}
package() {
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
install -Dt "$pkgdir/usr/share/libalpm/scripts" dconf-update
@ -47,4 +48,4 @@ package() {
install -Dm644 /dev/null "$pkgdir/etc/dconf/db/.placeholder"
}
# vim:set sw=2 et:
# vim:set sw=2 sts=-1 et:

View file

@ -1,7 +1,11 @@
vala
git
glib2-devel
gtk-doc
python
meson
bash-completion
cmake
dbus

View file

@ -9,10 +9,9 @@
pkgname=docbook-xml
_vers=(4.{2..5})
pkgver=${_vers[-1]}
pkgrel=09
pkgrel=010
pkgdesc="A widely used XML scheme for writing documentation and help"
url="https://www.oasis-open.org/docbook/"
arch=(any)
depends=(libxml2)
install=docbook-xml.install
source=(https://docbook.org/xml/4.1.2/docbkx412.zip
@ -107,13 +106,18 @@ package() {
chmod -Rc u=rwX,go=rX "$pkgdir"
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(MIT)
sha256sums=(30f0644064e0ea71751438251940b1431f46acada814a062870f486c772e7772 # docbkx412.zip
adf79c0ee42b5b0d9b0d10def6aca4f7c97a0ce7333b3012af2c929e1ed72b77 # LICENSE
acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2 # docbook-xml-4.2.zip
23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464 # docbook-xml-4.3.zip
02f159eb88c4254d95e831c51c144b1863b216d909b5ff45743a1ce6f5273090 # docbook-xml-4.4.zip
sha256sums=(30f0644064e0ea71751438251940b1431f46acada814a062870f486c772e7772 # docbkx412.zip
adf79c0ee42b5b0d9b0d10def6aca4f7c97a0ce7333b3012af2c929e1ed72b77 # LICENSE
acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2 # docbook-xml-4.2.zip
23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464 # docbook-xml-4.3.zip
02f159eb88c4254d95e831c51c144b1863b216d909b5ff45743a1ce6f5273090 # docbook-xml-4.4.zip
4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4) # docbook-xml-4.5.zip
## 1770f1ca1a1b267bd26a108d2ebf0dad30dae3b6832ef94a3abdaa01c7e062cb docbook-xml-4.5-010-x86_64.pkg.tar.lz

View file

@ -5,7 +5,7 @@ _vers=(4.{2..5})
pkgname=docbook-xml
pkgver=${_vers[-1]}
pkgrel=9
pkgrel=10
pkgdesc="A widely used XML scheme for writing documentation and help"
url="https://www.oasis-open.org/docbook/"
arch=(any)

View file

@ -1 +1,3 @@
libxml2

View file

@ -7,7 +7,7 @@
pkgname=duktape
pkgver=2.7.0
pkgrel=06
pkgrel=07
pkgdesc='Embeddable Javascript engine'
url='https://duktape.org/'
depends=(glibc)
@ -56,4 +56,5 @@ license=(MIT)
sha256sums=(90f8d2fa8b5567c6899830ddef2c03f3c27960b11aca222fa17aa7ac613c2890) # duktape-2.7.0.tar.xz
## 5d8404b861de0d6424955291932f8294e2000401dd3773d5a3b736c6601e98da duktape-2.7.0-06-x86_64.pkg.tar.lz
## f2c2c85560937c0802b489cf87f36d6d2328beb6f01bf412325bcaa0ef96bf84 duktape-2.7.0-07-x86_64.pkg.tar.lz

View file

@ -3,7 +3,7 @@
pkgname=duktape
pkgver=2.7.0
pkgrel=6
pkgrel=7
pkgdesc='Embeddable Javascript engine'
url='https://duktape.org/'
arch=(x86_64)

43
ncompress/PKGBUILD Normal file
View file

@ -0,0 +1,43 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=ncompress
pkgver=5.0
pkgrel=02
pkgdesc="a fast, simple LZW file compressor"
url="https://github.com/vapier/${pkgname}"
depends=('glibc')
provides=('compress')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
build() {
cd ${pkgname}-${pkgver}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" PREFIX=/usr install_core
# an uncompress implementation which handles gzipped files is provided by gzip
mv "${pkgdir}"/usr/bin/uncompress{,.real}
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LZW.INFO UNLICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom:PublicDomain')
b2sums=('7b296bd00024bfb483d3261ff8aa6e47a6be8c62b445c3d456d702b69fbc2a7b731326f7ea91aa331ba8e8a27936f4318b3e252cc978b6bf3198e8812988913f')
sha256sums=(96ec931d06ab827fccad377839bfb91955274568392ddecf809e443443aead46) # ncompress-5.0.tar.gz
## a54d63b9670eda71066d1919ab49684e9fbb1f1239f75cee0b9eb026fdb4c3fe ncompress-5.0-02-x86_64.pkg.tar.lz

31
ncompress/PKGBUILD-arch Normal file
View file

@ -0,0 +1,31 @@
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
pkgname=ncompress
pkgver=5.0
pkgrel=2
pkgdesc="a fast, simple LZW file compressor"
arch=('x86_64')
url="https://github.com/vapier/${pkgname}"
license=('custom:PublicDomain')
depends=('glibc')
provides=('compress')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('96ec931d06ab827fccad377839bfb91955274568392ddecf809e443443aead46')
b2sums=('7b296bd00024bfb483d3261ff8aa6e47a6be8c62b445c3d456d702b69fbc2a7b731326f7ea91aa331ba8e8a27936f4318b3e252cc978b6bf3198e8812988913f')
build() {
cd ${pkgname}-${pkgver}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" PREFIX=/usr install_core
# an uncompress implementation which handles gzipped files is provided by gzip
mv "${pkgdir}"/usr/bin/uncompress{,.real}
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LZW.INFO UNLICENSE
}
##

1
ncompress/clean Normal file
View file

@ -0,0 +1 @@
rm -rf {src,pkg,ncompress-*tar.gz*}

2
ncompress/deps Normal file
View file

@ -0,0 +1,2 @@

6
ncompress/time Normal file
View file

@ -0,0 +1,6 @@
real 0m2.521s
user 0m2.200s
sys 0m0.555s

View file

@ -8,19 +8,27 @@
pkgbase=pahole
pkgname=(pahole ostra-cg)
pkgver=1.27
pkgrel=01
pkgrel=02
epoch=1
pkgdesc="Pahole and other DWARF utils"
url="https://git.kernel.org/pub/scm/devel/pahole/pahole.git"
makedepends=(bash cmake libelf ninja python python-matplotlib zlib glibc)
source=(https://fedorapeople.org/~acme/dwarves/dwarves-$pkgver.tar.{xz,sign}
makedepends=(bash cmake git libelf ninja python python-matplotlib zlib glibc)
# old src https://fedorapeople.org/~acme/dwarves/dwarves-$pkgver.tar.{xz,sign}
source=("git+https://github.com/acmel/dwarves?signed#tag=v$pkgver"
0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch)
prepare() {
cd dwarves-$pkgver
# cd dwarves-$pkgver
cd dwarves
# Fix kernel build with Clang
# https://gitlab.archlinux.org/archlinux/packaging/packages/pahole/-/issues/1
git cherry-pick -n 6a2b27c0f512619b0e7a769a18a0fb05bb3789a5 \
94a01bde592c555b3eb526aeb4c2ad695c5660d8
# https://bugs.archlinux.org/task/70013
patch -Np1 -i ../0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch
# patch -Np1 -i ../0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch
git apply -3 ../0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch
}
build() {
@ -29,8 +37,8 @@ build() {
-D CMAKE_BUILD_TYPE=None
-D __LIB=lib
)
cmake -S dwarves-$pkgver -B build -G Ninja "${cmake_options[@]}"
cmake -S dwarves -B build -G Ninja "${cmake_options[@]}"
# cmake -S dwarves-$pkgver -B build -G Ninja "${cmake_options[@]}"
cmake --build build
}
@ -80,14 +88,12 @@ license=(GPL-2.0-only)
validpgpkeys=(2DBF5BAA46FB4DED338A335BD65016F35352AA40) # Arnaldo Carvalho de Melo <acme@kernel.org>
b2sums=('0a0f8ec8bf26240e17dc3319e76e16299514d662a79b25c4c962f723127f55d185d557adba7230d23b2e2b38fc62044aaa3474a458dc3df2000260637f995121'
'SKIP'
'02962095407cdbf191428884b83c3392e39d4acdad0c6a952655daec8b871bab8962c3716c9479192118eef81afe412203ac46600a2d702733254c6d7219f7d2')
b2sums=('a2c7641d85ccc4489e4d55f6f59cb0338674a877a7265eacf9ffcb0f05e33b2cd322aaa3af32b75583d0f7847a98b0d6c16e4a001c2a566b2845a52e01247259'
'02962095407cdbf191428884b83c3392e39d4acdad0c6a952655daec8b871bab8962c3716c9479192118eef81afe412203ac46600a2d702733254c6d7219f7d2')
sha256sums=(81e227af6fe6a3228d64211a80209f7cd86022a6bd48c53302124cef76154505 # dwarves-1.27.tar.xz
da406e9776fe3c111490747127f8ae1a1ac062d01cb6aaea4baedac9fcf30525 # dwarves-1.27.tar.sign
sha256sums=(5d19f202bf7c56e8f3ce4bf5791865cb3f4c11fa7c9097f21b58fd51e7de9a6d # dwarves
345a2fe5502f5699c9d1ae994c2d3fe6ec1558f58d406816820e1c44d352ccca) # 0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch
## a82f3126b278ce1803c07665be1c0abbc6f6a811ce386e0cb973129ebdf70db7 ostra-cg-1_1.27-01-x86_64.pkg.tar.lz
## af430caa6efc56bd253a59bde9c616488a1a0cc4131df35faf078314766e5a53 pahole-1_1.27-01-x86_64.pkg.tar.lz
## 373d47748a13f6150a730f0380024948e1b3ee67aa76f1517fe473a15133163e ostra-cg-1_1.27-02-x86_64.pkg.tar.lz
## aa9101605a19f19dd9c4cba6d0313cd51925d668d4d8ca37b6a83829e0022c49 pahole-1_1.27-02-x86_64.pkg.tar.lz

View file

@ -6,7 +6,7 @@ pkgname=(
ostra-cg
)
pkgver=1.27
pkgrel=1
pkgrel=2
epoch=1
pkgdesc="Pahole and other DWARF utils"
url="https://git.kernel.org/pub/scm/devel/pahole/pahole.git"
@ -15,6 +15,7 @@ license=(GPL-2.0-only)
makedepends=(
bash
cmake
git
glibc
libelf
ninja
@ -23,21 +24,25 @@ makedepends=(
zlib
)
source=(
https://fedorapeople.org/~acme/dwarves/dwarves-$pkgver.tar.{xz,sign}
"git+https://github.com/acmel/dwarves?signed#tag=v$pkgver"
0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch
)
b2sums=('0a0f8ec8bf26240e17dc3319e76e16299514d662a79b25c4c962f723127f55d185d557adba7230d23b2e2b38fc62044aaa3474a458dc3df2000260637f995121'
'SKIP'
b2sums=('a2c7641d85ccc4489e4d55f6f59cb0338674a877a7265eacf9ffcb0f05e33b2cd322aaa3af32b75583d0f7847a98b0d6c16e4a001c2a566b2845a52e01247259'
'02962095407cdbf191428884b83c3392e39d4acdad0c6a952655daec8b871bab8962c3716c9479192118eef81afe412203ac46600a2d702733254c6d7219f7d2')
validpgpkeys=(
2DBF5BAA46FB4DED338A335BD65016F35352AA40 # Arnaldo Carvalho de Melo <acme@kernel.org>
)
prepare() {
cd dwarves-$pkgver
cd dwarves
# Fix kernel build with Clang
# https://gitlab.archlinux.org/archlinux/packaging/packages/pahole/-/issues/1
git cherry-pick -n 6a2b27c0f512619b0e7a769a18a0fb05bb3789a5 \
94a01bde592c555b3eb526aeb4c2ad695c5660d8
# https://bugs.archlinux.org/task/70013
patch -Np1 -i ../0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch
git apply -3 ../0001-CMakeLists.txt-Install-ostra.py-into-Python3_SITELIB.patch
}
build() {
@ -47,7 +52,7 @@ build() {
-D __LIB=lib
)
cmake -S dwarves-$pkgver -B build -G Ninja "${cmake_options[@]}"
cmake -S dwarves -B build -G Ninja "${cmake_options[@]}"
cmake --build build
}

View file

@ -1 +1 @@
rm -rf {src,pkg,dwarves-*.tar.*}
rm -rf {src,pkg,dwarves-*.tar.*,dwarves}

View file

@ -5,3 +5,4 @@ python-matplotlib
graphite
git

42
patchutils/PKGBUILD Normal file
View file

@ -0,0 +1,42 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=patchutils
pkgver=0.4.2
pkgrel=02
pkgdesc="A small collection of programs that operate on patch files"
url="http://cyberelk.net/tim/patchutils/"
depends=('python3' 'pcre2')
makedepends=('xmlto')
source=("http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.xz"{,.sig})
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL')
validpgpkeys=('4629AFE960EC20BEC12E3104B7C20D079491EA63') # Tim Waugh <tim@cyberelk.net>
sha256sums=(8875b0965fe33de62b890f6cd793be7fafe41a4e552edbf641f1fed5ebbf45ed # patchutils-0.4.2.tar.xz
29505cd813de6d72fa9edb8aba2bba69a286fdcfd25a010ce7cd294448802395) # patchutils-0.4.2.tar.xz.sig
## 1343b65c94224bbd9dea5a4dec4ed7ad8279ce6f886d368ba4cdb450e049b397 patchutils-0.4.2-02-x86_64.pkg.tar.lz

30
patchutils/PKGBUILD-arch Normal file
View file

@ -0,0 +1,30 @@
# Contributor: Aurelien Foret <orelien@chez.com>
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=patchutils
pkgver=0.4.2
pkgrel=2
pkgdesc="A small collection of programs that operate on patch files"
license=('GPL')
url="http://cyberelk.net/tim/patchutils/"
depends=('python3' 'pcre2')
makedepends=('xmlto')
arch=('x86_64')
source=("http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('8875b0965fe33de62b890f6cd793be7fafe41a4e552edbf641f1fed5ebbf45ed'
'SKIP')
validpgpkeys=('4629AFE960EC20BEC12E3104B7C20D079491EA63') # Tim Waugh <tim@cyberelk.net>
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
##

1
patchutils/clean Normal file
View file

@ -0,0 +1 @@
rm -rf {src,pkg,patchutils-*tar.xz*}

3
patchutils/deps Normal file
View file

@ -0,0 +1,3 @@
python
xmlto

1
patchutils/key Normal file
View file

@ -0,0 +1 @@
gpg --recv-key B7C20D079491EA63

6
patchutils/time Normal file
View file

@ -0,0 +1,6 @@
real 0m7.794s
user 0m6.650s
sys 0m1.287s

View file

@ -7,7 +7,7 @@
pkgname=tmux
pkgver=3.4
pkgrel=08
pkgrel=09
pkgdesc='A terminal multiplexer w/o systemd'
url='https://github.com/tmux/tmux/wiki'
depends=('libevent' 'libevent_core-2.1.so' 'libutempter' 'ncurses' 'libncursesw.so')
@ -24,6 +24,8 @@ prepare() {
# autoreconf -fi
# https://github.com/tmux/tmux/issues/3864
git revert -n 43e5e80343185e69a1b864fc48095ede0b898180
# https://github.com/tmux/tmux/issues/3983
git cherry-pick -n aa17f0e0c1c8b3f1d6fc8617613c74f07de66fae
sh autogen.sh
}
@ -55,5 +57,5 @@ license=('BSD')
sha256sums=(71387cf05585836da88d9b481f98e89be5bc8f09a203600187b22aa0e00c52b0) # tmux
## ad7c79adeff174999e9c7b49d423b1982fdeb5af050ec215c5e5b126490d1c9b tmux-3.4-08-x86_64.pkg.tar.lz
## 85b2d5f21d8a805016f628ce6283dbf4efee98baab288eecc0a7224f8948d396 tmux-3.4-09-x86_64.pkg.tar.lz

View file

@ -3,7 +3,7 @@
pkgname=tmux
pkgver=3.4
pkgrel=8
pkgrel=9
pkgdesc='Terminal multiplexer'
url='https://github.com/tmux/tmux/wiki'
arch=('x86_64')
@ -21,6 +21,8 @@ prepare() {
# https://github.com/tmux/tmux/issues/3864
git revert -n 43e5e80343185e69a1b864fc48095ede0b898180
# https://github.com/tmux/tmux/issues/3983
git cherry-pick -n aa17f0e0c1c8b3f1d6fc8617613c74f07de66fae
sh autogen.sh
}