summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornate2018-01-26 19:53:44 -0600
committernate2018-01-26 19:53:44 -0600
commita1dcf8ce0644b35f4a4ecd295d3c44db80f7327c (patch)
tree89e5aa4cb51dab2c2e51f1fd557949c7cb5b04c8
parent3be0a06424fa77ea9ccd570c383264d5b6aa790e (diff)
downloadaur-a1dcf8ce0644b35f4a4ecd295d3c44db80f7327c.tar.gz
Patch for enchant 2.2.1, 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 4fc701f9eba2..2cec7d715182 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,8 @@
-# Generated by mksrcinfo v8
-# Sun Dec 10 19:21:15 UTC 2017
pkgbase = xed
pkgdesc = A small and lightweight text editor. X-Apps Project.
pkgver = 1.6.3
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/linuxmint/xed
- install = xed.install
arch = i686
arch = x86_64
arch = armv7h
diff --git a/PKGBUILD b/PKGBUILD
index 5adb8cae536d..5e61a4d420e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=xed
pkgver=1.6.3
-pkgrel=2
+pkgrel=3
pkgdesc="A small and lightweight text editor. X-Apps Project."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
@@ -12,11 +12,16 @@ makedepends=('gnome-common' 'iso-codes' 'gobject-introspection')
provides=($pkgname)
conflicts=('xed-git' $_pkgname)
url='https://github.com/linuxmint/xed'
-install=xed.install
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('b7aa267ecde3de3753c38e0092811e8b')
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ # https://www.archlinux.org/todo/enchant-221-rebuild/
+ sed -i 's/, enchant/, enchant-2/' configure.ac
+}
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./autogen.sh --with-gtk=3.0 --prefix="/usr" \
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
-}