summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Kharitonov2019-02-27 15:13:46 +0500
committerDmitry Kharitonov2019-02-27 15:13:46 +0500
commit206c45102b60c6e98c725b082f256b390897e932 (patch)
treea1fab5a713970f6b6a32f78c977d302c7f814d16
parent03148024fbba6fa25656edbd1207161ee330d745 (diff)
downloadaur-206c45102b60c6e98c725b082f256b390897e932.tar.gz
Revert "Removed unnecessary seds"
This reverts commit 03148024fbba6fa25656edbd1207161ee330d745.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f0a7d536d51c..19e4b8fc2ea5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pdfbeads
pkgdesc = A small utility written in Ruby which takes scanned page images and converts them into a single PDF file
pkgver = 1.1.2
- pkgrel = 2
+ pkgrel = 1
url = https://github.com/ImageProcessing-ElectronicPublications/ruby-pdfbeads
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 37c98df8cfa0..b5658c5f63e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=pdfbeads
pkgver=1.1.2
-pkgrel=2
+pkgrel=1
pkgdesc="A small utility written in Ruby which takes scanned page images and converts them into a single PDF file"
arch=('any')
url='https://github.com/ImageProcessing-ElectronicPublications/ruby-pdfbeads'
@@ -34,6 +34,9 @@ sha256sums=('f77d7a33cb9ef5963bc735f7b7bb4ffdadd94291291bb3581a4ec4ece39b9ab3'
prepare() {
cd ruby-${pkgname}-${pkgver}
+ sed 's|git ls-files -z|find -print0|' -i ${pkgname}.gemspec
+ sed 's|~>|>=|g' -i ${pkgname}.gemspec # don't give a fuck about rubys bla bla
+
patch -p0 -i ../license.patch
}