summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2022-11-24 15:35:01 +0100
committerhaawda2022-11-24 15:35:01 +0100
commit283e4b6ef6f0c3874d5261c93f79edbb5ae0cc4e (patch)
treed90c1e2f76f0ba1a43f2f7791743c4df836ca006 /PKGBUILD
parentfe1d20ae58fadc7e4fff04df1af284f9997991ac (diff)
downloadaur-283e4b6ef6f0c3874d5261c93f79edbb5ae0cc4e.tar.gz
split out xjed
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 23c3c578e7de..c0100a87698a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,11 @@
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
-pkgname=('jed-snapshot' 'rgrep')
+pkgname=('jed-snapshot' 'xjed-snapshot' 'rgrep')
_pkgver=0.99.20-170
pkgver=${_pkgver//-/.}
_pkgname=${pkgname/-snapshot/}
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://www.jedsoft.org/snapshots/"
license=('GPL')
@@ -30,6 +30,7 @@ build() {
cd ${_pkgname}-pre${_pkgver}
./configure --prefix=/usr JED_ROOT=/usr/share/jed
make
+ make xjed
}
package_jed-snapshot() {
@@ -38,6 +39,16 @@ package_jed-snapshot() {
conflicts=('jed')
cd ${_pkgname}-pre${_pkgver}
make DESTDIR="${pkgdir}" install
+ rm "$pkgdir"/usr/bin/xjed
+}
+
+package_xjed-snapshot() {
+ pkgdesc="A freely available text editor - Latest development version"
+ provides=('xjed' 'jed')
+ conflicts=('xjed' 'jed')
+ cd ${_pkgname}-pre${_pkgver}
+ make DESTDIR="${pkgdir}" install
+ rm "$pkgdir"/usr/bin/{jed,jed-script}
}
package_rgrep() {