summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy_Vetrov2020-12-07 15:09:46 +0300
committerAndy_Vetrov2020-12-07 15:09:46 +0300
commitdbcc7bbcae4e808d516d87533560c12462f1c07f (patch)
tree176297282ab379efd07f0e1e36945ce459ea7d31
parent2a9d9e68d15235af5e102854553a427939eb46d1 (diff)
downloadaur-dbcc7bbcae4e808d516d87533560c12462f1c07f.tar.gz
upgpkg: epdfview-gtk3 0.2.0-3 : Switched to the ncmprhnsbl's repository. No additional patch needed.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD13
-rw-r--r--patch.txt20
3 files changed, 6 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ee5c64c3bc7..fc47d0f995eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = epdfview-gtk3
pkgdesc = Lightweight PDF document viewer. GTK3 version.
pkgver = 0.2.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/Flow-It/epdfview
arch = x86_64
license = GPL2
@@ -16,9 +16,8 @@ pkgbase = epdfview-gtk3
provides = epdfview
conflicts = epdfview
replaces = epdfview
+ options = !emptydirs
source = git+https://github.com/Flow-It/epdfview_old.git
- source = patch.txt
- md5sums = SKIP
md5sums = SKIP
pkgname = epdfview-gtk3
diff --git a/PKGBUILD b/PKGBUILD
index 7bde79432ab5..2dbcf081be46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=epdfview-gtk3
pkgver=0.2.0
-pkgrel=2
+pkgrel=3
pkgdesc='Lightweight PDF document viewer. GTK3 version.'
url='https://github.com/Flow-It/epdfview'
arch=('x86_64')
@@ -10,14 +10,9 @@ conflicts=('epdfview')
replaces=('epdfview')
depends=('gtk3' 'poppler-glib' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('git' 'meson' 'ninja' 'doxygen')
-source=("git+https://github.com/Flow-It/epdfview_old.git"
- 'patch.txt')
-md5sums=('SKIP' 'SKIP')
-
-prepare() {
- cd "${srcdir}/${pkgname%-*}_old"
- patch -Np1 -i ../patch.txt
-}
+options=('!emptydirs')
+source=("git+https://github.com/Flow-It/epdfview_old.git")
+md5sums=('SKIP')
build() {
mkdir build
diff --git a/patch.txt b/patch.txt
deleted file mode 100644
index f16cbdcc676e..000000000000
--- a/patch.txt
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/gtk/MainView.cxx
-+++ b/src/gtk/MainView.cxx
-@@ -1050,7 +1050,7 @@
-
- GError *error = NULL;
- if ( !gtk_ui_manager_add_ui_from_file (m_UIManager,
-- DATADIR"/ui/epdfview-ui.xml",
-+ DATADIR"/epdfview/ui/epdfview-ui.xml",
- &error) )
- {
- g_critical (_("Error building UI manager: %s\n"), error->message);
-@@ -1060,7 +1060,7 @@
-
- #if defined (HAVE_CUPS)
- if ( !gtk_ui_manager_add_ui_from_file (m_UIManager,
-- DATADIR"/ui/epdfview-ui-print.xml",
-+ DATADIR"/epdfview/ui/epdfview-ui-print.xml",
- &error) )
- {
- g_critical (_("Error building UI manager: %s\n"), error->message);