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

Levente Polyak anthraxx at archlinux.org
Wed Aug 7 21:50:19 UTC 2019


    Date: Wednesday, August 7, 2019 @ 21:50:19
  Author: anthraxx
Revision: 498259

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 21:50:14 UTC (rev 498258)
+++ PKGBUILD	2019-08-07 21:50:19 UTC (rev 498259)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: darkcoder <mario_vazq at hotmail.com>
-
-pkgname=os-prober
-pkgver=1.76
-pkgrel=1
-pkgdesc="Utility to detect other OSes on a set of drives"
-url="http://joey.kitenet.net/code/os-prober/"
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('sh')
-source=(http://http.debian.net/debian/pool/main/o/${pkgname}/${pkgname}_${pkgver}.tar.xz)
-sha256sums=('d3a580610e0148ee1fea98de993b27b856870fb0a31e9ce1a33be2654e2c64ed')
-
-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 -Dm755 linux-boot-prober "$pkgdir"/usr/bin/linux-boot-prober
-  install -Dm755 os-prober "$pkgdir"/usr/bin/os-prober
-  install -Dm755 newns "$pkgdir"/usr/lib/os-prober/newns
-  install -Dm755 common.sh $pkgdir/usr/share/os-prober/common.sh
-
-  for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do
-    install -dm755 "$pkgdir/usr/lib/$dir"
-    install -m755 -t "$pkgdir/usr/lib/$dir" "$dir"/common/*
-    [[ -d "$dir"/x86 ]] && cp -r "$dir"/x86/* "$pkgdir/usr/lib/$dir"
-  done
-
-  install -Dm755 os-probes/mounted/powerpc/20macosx "$pkgdir"/usr/lib/os-probes/mounted/20macosx
-
-  install -dm755 "$pkgdir"/var/lib/os-prober
-}

Copied: os-prober/repos/community-x86_64/PKGBUILD (from rev 498258, os-prober/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-07 21:50:19 UTC (rev 498259)
@@ -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.77
+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)
+sha256sums=('8d8ea4afbe1aeef3c8b73f74a0fb37b06185e21a6abc78f80fc2160009cf705f')
+sha512sums=('4d9c22ccc4d950644a06a17ec4424aca5ff82aeb20052dc389dd451b6b9a1799c5a9438644a29093153730af42066abbbbb78f593f2564314c9adbd43f60e39b')
+
+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:



More information about the arch-commits mailing list