Created
October 4, 2016 18:40
-
-
Save kd35a/39d1e49cb2cee8f77509c235e514554a to your computer and use it in GitHub Desktop.
0001-Adhere-to-new-upstream-packaging.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c2a287eb97a4e3ea2694d38fa650117199775c92 Mon Sep 17 00:00:00 2001 | |
From: Fredrik Strandin <fredrik@strandin.name> | |
Date: Tue, 4 Oct 2016 20:36:36 +0200 | |
Subject: [PATCH] Adhere to new upstream packaging | |
Also updated to use sha512 instead of sha256, because why not. | |
--- | |
PKGBUILD | 9 ++++----- | |
1 file changed, 4 insertions(+), 5 deletions(-) | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 9a76bbc..b2e1f44 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -2,7 +2,7 @@ | |
# Contributor Max Meyer <dev at [f}edux d0t org> | |
pkgname=geteltorito | |
pkgver=0.6 | |
-pkgrel=1 | |
+pkgrel=2 | |
pkgdesc="A El Torito boot image extractor" | |
arch=(any) | |
url="http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito" | |
@@ -10,12 +10,11 @@ license=('GPL2') | |
depends=('perl') | |
changelog= | |
install="${pkgname}.install" | |
-source=( http://userpages.uni-koblenz.de/~krienke/ftp/noarch/${pkgname}/${pkgname}.pl ) | |
-noextract=(${pkgname}.pl) | |
-sha256sums=('378a6305edb9397978e60b7908a85dd8c2546f2808cb845552d5e4a8ba9baab3') | |
+source=( http://userpages.uni-koblenz.de/~krienke/ftp/noarch/${pkgname}/${pkgname}-${pkgver}.tar.gz ) | |
+sha512sums=('c9823b8dffaf98d08383606aa21971605a001880bf7abfe614be4380963237ab55f0fcaeb6be393a3902b5d1dc43ce283ca16ef40ea142b2b2d825d3467e31e9') | |
package() { | |
- install -o root -g root -m 755 -D ${pkgname}.pl "$pkgdir/usr/bin/${pkgname}.pl" | |
+ install -o root -g root -m 755 -D ${pkgname}/${pkgname} "$pkgdir/usr/bin/${pkgname}" | |
} | |
# vim:set ts=2 sw=2 et: | |
-- | |
2.10.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment