summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorΝικόλαος Κυριάκος Φυτίλης2016-08-09 11:27:38 +0300
committerΝικόλαος Κυριάκος Φυτίλης2016-08-09 11:27:38 +0300
commit1c4ba80f11a4289ed5ee2234fe2caf1b6d896eb4 (patch)
tree7c1e2e6af97c267eaab22034295818a63cd45e32
downloadaur-1c4ba80f11a4289ed5ee2234fe2caf1b6d896eb4.tar.gz
auto - see github.com/nicman23/mate_arch
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD45
2 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fb7dc9f17d0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = pluma-dev
+ pkgdesc = A powerful text editor for MATE (GTK3 version)
+ pkgver = 1.15.1
+ pkgrel = 1
+ url = http://mate-desktop.org
+ arch = i686
+ arch = x86_64
+ groups = mate-extra
+ license = GPL
+ makedepends = mate-common-dev
+ makedepends = yelp-tools
+ makedepends = gtksourceview3
+ makedepends = mate-desktop-dev
+ depends = desktop-file-utils
+ depends = enchant
+ depends = glib2
+ depends = gtk3
+ depends = gtksourceview2
+ depends = iso-codes
+ depends = libsm
+ depends = mate-desktop-dev
+ depends = gtksourceview3
+ depends = python2-gobject
+ depends = zenity
+ optdepends = yelp: for reading MATE help documents
+ provides = pluma
+ provides = pluma-gtk3
+ conflicts = pluma
+ conflicts = pluma-gtk3
+ source = http://pub.mate-desktop.org/releases/1.15/pluma-1.15.1.tar.xz
+ sha1sums = 0daa255483469b49019bf1225461ed142433adff
+
+pkgname = pluma-dev
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fdc3b1eb500
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Νικόλαος Κυριάκος Φυτίλης <n-fit@live.com>
+# Contributor: eadrom <eadrom@archlinux.info>
+# Contributor: Martin Wimpress <code@flexion.org>
+
+_ver=1.15
+_pkgbase=pluma
+pkgname="${_pkgbase}-dev"
+pkgver=${_ver}.1
+pkgrel=1
+pkgdesc="A powerful text editor for MATE (GTK3 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+provides=("${_pkgbase}" "${_pkgbase}-gtk3")
+conflicts=("${_pkgbase}" "${_pkgbase}-gtk3")
+license=('GPL')
+depends=('desktop-file-utils' 'enchant' 'glib2' 'gtk3' 'gtksourceview2' 'iso-codes'
+ 'libsm' 'mate-desktop-dev' 'gtksourceview3' 'python2-gobject' 'zenity')
+makedepends=('mate-common-dev' 'yelp-tools' 'gtksourceview3' 'mate-desktop-dev')
+optdepends=('yelp: for reading MATE help documents')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('0daa255483469b49019bf1225461ed142433adff')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${_pkgbase}-${pkgver}" "${_pkgbase}-gtk3"
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ sed -i 's/python/python2/' plugins/externaltools/data/switch-c.tool.in
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${_pkgbase} \
+ --with-gtk=3.0 \
+ --enable-gtk-doc=no \
+ --disable-python
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}