summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornate2018-01-26 19:57:34 -0600
committernate2018-01-26 19:57:34 -0600
commit5d5e5d9c2618d500b5c1b7032b2a7c05e1cc3679 (patch)
treeced04cc7ca0584fba5c03158b7339ce2462638ff
parent5e0e88f4fbcb464fa7c8218ea0dae4a865c09540 (diff)
downloadaur-5d5e5d9c2618d500b5c1b7032b2a7c05e1cc3679.tar.gz
enchant 2.2.1 patch and remove install file
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
-rw-r--r--xed.install12
3 files changed, 8 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e6b699ebb5ab..509589beb8b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,8 @@
-# Generated by mksrcinfo v8
-# Sun Dec 10 19:20:55 UTC 2017
pkgbase = xed-git
pkgdesc = A small and lightweight text editor. X-Apps Project (git version).
- pkgver = 1.6.3.r0.g4fe403d
+ pkgver = master.lmde3.r0.gd5ccae3
pkgrel = 1
url = https://github.com/linuxmint/xed
- install = xed.install
arch = i686
arch = x86_64
arch = armv7h
diff --git a/PKGBUILD b/PKGBUILD
index 553f2515c4cf..9923830c3a66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=xed-git
_pkgbasename=xed
-pkgver=1.6.3.r0.g4fe403d
+pkgver=master.lmde3.r0.gd5ccae3
pkgrel=1
pkgdesc="A small and lightweight text editor. X-Apps Project (git version)."
arch=('i686' 'x86_64' 'armv7h')
@@ -13,11 +13,16 @@ makedepends=('git' 'gnome-common' 'iso-codes' 'gobject-introspection')
provides=($pkgname $_pkgbasename)
conflicts=(${_pkgbasename})
url='https://github.com/linuxmint/xed'
-install=xed.install
source=("${pkgname}::git+https://github.com/linuxmint/${_pkgbasename}.git")
md5sums=('SKIP')
+prepare() {
+ cd ${srcdir}/${pkgname}
+ # https://www.archlinux.org/todo/enchant-221-rebuild/
+ sed -i 's/, enchant/, enchant-2/' configure.ac
+}
+
pkgver() {
cd ${srcdir}/${pkgname}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
diff --git a/xed.install b/xed.install
deleted file mode 100644
index 04122f560408..000000000000
--- a/xed.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install(){
- glib-compile-schemas usr/share/glib-2.0/schemas
- update-desktop-database -q
-}
-
-post_upgrade(){
- post_install
-}
-
-post_remove(){
- post_install
-}