[arch-commits] Commit in os-prober/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Sat Jul 17 19:41:49 UTC 2021


    Date: Saturday, July 17, 2021 @ 19:41:49
  Author: anthraxx
Revision: 978415

archrelease: copy trunk to community-x86_64

Added:
  os-prober/repos/community-x86_64/PKGBUILD
    (from rev 978414, os-prober/trunk/PKGBUILD)
Deleted:
  os-prober/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-17 19:41:45 UTC (rev 978414)
+++ PKGBUILD	2021-07-17 19:41:49 UTC (rev 978415)
@@ -1,46 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: darkcoder <mario_vazq at hotmail.com>
-
-pkgname=os-prober
-pkgver=1.78
-pkgrel=1
-pkgdesc='Utility to detect other OSes on a set of drives'
-url='https://joeyh.name/code/os-prober/'
-arch=('x86_64')
-license=('GPL3')
-depends=('sh')
-source=(http://http.debian.net/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.xz)
-sha512sums=('7a0425130d17ce8554e7d0797b53e3a984f63a2fdcf8e668c83d357418d8c68259ada25bc350b199adece2e683d9014f234e3a83ce5ab7485be2e69c45874640')
-b2sums=('eee68ab9be36807d86e8bda831cfd490a01d20d9cc3f84ca50d5e1143e5a2dd66e47d3bdf2b4780cf73cc692f0ffc9497c6cbf13ce7aa0057e996b13d706c8f7')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  # adjust lib dir to allow detection of 64-bit distros
-  sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro
-  rm -f Makefile
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  make newns
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-
-  install -Dm 755 os-prober linux-boot-prober -t "${pkgdir}/usr/bin"
-  install -Dm 755 newns -t "${pkgdir}/usr/lib/os-prober"
-  install -Dm 755 common.sh -t "${pkgdir}/usr/share/os-prober"
-
-  for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do
-    install -dm 755 "${pkgdir}/usr/lib/${dir}"
-    install -m 755 -t "${pkgdir}/usr/lib/${dir}" "${dir}"/common/*
-    [[ -d "${dir}"/x86 ]] && cp -r "${dir}"/x86/* "${pkgdir}/usr/lib/${dir}"
-  done
-
-  install -Dm 755 os-probes/mounted/powerpc/20macosx "${pkgdir}"/usr/lib/os-probes/mounted/20macosx
-  install -dm 755 "${pkgdir}"/var/lib/os-prober
-}
-
-# vim: ts=2 sw=2 et:

Copied: os-prober/repos/community-x86_64/PKGBUILD (from rev 978414, os-prober/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-17 19:41:49 UTC (rev 978415)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: darkcoder <mario_vazq at hotmail.com>
+
+pkgname=os-prober
+pkgver=1.79
+pkgrel=1
+pkgdesc='Utility to detect other OSes on a set of drives'
+url='https://joeyh.name/code/os-prober/'
+arch=('x86_64')
+license=('GPL3')
+depends=('sh')
+source=(http://http.debian.net/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.xz)
+sha512sums=('89b827b9b90a1d3bc11e0090ec04d808502cc1883ab10997b6d9edbe6005dcf8a0acdd7d200102c9dccde56297bda6087d68fb6dec419f0920090c2655c9c7d8')
+b2sums=('b3efacce9d7fce3708f5ec727a219e872e8d1de6dea15540cfbc0a0e8372c1033098230d3ddb9066fb5474d44e5584ee28631e0e5ab981e8fb1dc29ee3cbd89d')
+
+prepare() {
+  cd ${pkgname}
+  # adjust lib dir to allow detection of 64-bit distros
+  sed -i -e "s:/lib/ld\*\.so\*:/lib*/ld*.so*:g" os-probes/mounted/common/90linux-distro
+  rm -f Makefile
+}
+
+build() {
+  cd ${pkgname}
+  make newns
+}
+
+package() {
+  cd ${pkgname}
+
+  install -Dm 755 os-prober linux-boot-prober -t "${pkgdir}/usr/bin"
+  install -Dm 755 newns -t "${pkgdir}/usr/lib/os-prober"
+  install -Dm 755 common.sh -t "${pkgdir}/usr/share/os-prober"
+
+  for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do
+    install -dm 755 "${pkgdir}/usr/lib/${dir}"
+    install -m 755 -t "${pkgdir}/usr/lib/${dir}" "${dir}"/common/*
+    [[ -d "${dir}"/x86 ]] && cp -r "${dir}"/x86/* "${pkgdir}/usr/lib/${dir}"
+  done
+
+  install -Dm 755 os-probes/mounted/powerpc/20macosx "${pkgdir}"/usr/lib/os-probes/mounted/20macosx
+  install -dm 755 "${pkgdir}"/var/lib/os-prober
+}
+
+# vim: ts=2 sw=2 et:




More information about the arch-commits mailing list