diff --git a/.sources b/.sources index af655d0..3d348f9 100644 --- a/.sources +++ b/.sources @@ -18,6 +18,7 @@ linux-firmware https://gitlab.archlinux.org/archlinux/packaging/packages/linux-f logo-ls https://aur.archlinux.org/logo-ls.git matchbox https://aur.archlinux.org/matchbox.git mixxx-git https://aur.archlinux.org/mixxx-git.git +mtr https://gitlab.archlinux.org/archlinux/packaging/packages/mtr.git olive-git https://aur.archlinux.org/olive-git.git r8125-dkms https://aur.archlinux.org/r8125-dkms.git rtlsdr-airband-git https://aur.archlinux.org/rtlsdr-airband-git.git diff --git a/mtr b/mtr new file mode 100644 index 0000000..7793e25 --- /dev/null +++ b/mtr @@ -0,0 +1,13 @@ +patch#pkgbuild#../mtr.patches/0001-Add-patches.patch + +add#source#https://github.com/traviscross/mtr/commit/5908af4c19188cb17b62f23368b6ef462831a0cb.patch +add#b2sums#1fa2e80aa2ded851e6edefb4f07bf0c7091ed4ac1cf6bd44908f93c4851a392dd8bfb24fd370a06c93b25b710e0addc907591741323bf4109b140f4612368bc7 +add#sha512sums#01b84482a1b1570cce392ab74a0dafcd1017e3990e5d74ba26e04d913ee499d8ff586512f53ee87a9488b2bba4869ce905e036307aee4c9af87f16285f71625f + +# add +icedream.1 to final package version without disturbing the script +replace#global#pkgver=#_pkgver= +replace#global#$pkgver#\$_pkgver +replace#global#${pkgver}#\${_pkgver} +replace#global#echo $_pkgver#echo $pkgver +replace#global#echo ${_pkgver}#echo ${pkgver} +addline#global#_pkgver=#pkgver=\${_pkgver}+icedream.1 diff --git a/mtr.files/.gitkeep b/mtr.files/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/mtr.patches/0001-Add-patches.patch b/mtr.patches/0001-Add-patches.patch new file mode 100644 index 0000000..a45aacb --- /dev/null +++ b/mtr.patches/0001-Add-patches.patch @@ -0,0 +1,16 @@ +diff --git a/PKGBUILD b/PKGBUILD +index e5a4af0..4643163 100644 +--- a/PKGBUILD ++++ b/PKGBUILD +@@ -24,6 +24,11 @@ sha512sums=('a7d69e0c551a10ae80a650a34588119e6c6b124a8c2c93d3de29e5daa6ef99f9217 + b2sums=('3c972675b97945b96562802c5d0f10de963160682c93c0ea2991b72eca33d136d18948c5e746ca3dfb280ebc9c3ab154e7774f8409ed4e5f7470a8feb128e71b') + + prepare() { ++ (cd "${pkgbase}-${pkgver}" ++ for patch in "${srcdir}"/*.patch; do ++ patch -p1 -i "${patch}" ++ done ++ ) + (cd ${pkgbase}-${pkgver} + echo "${pkgver}" > .tarball-version + autoreconf -fiv