[arch-commits] Commit in xed/repos (community-x86_64 community-x86_64/PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Dec 12 21:22:06 UTC 2018
Date: Wednesday, December 12, 2018 @ 21:22:05
Author: eschwartz
Revision: 415860
archrelease: copy trunk to community-x86_64
Added:
xed/repos/community-x86_64/
xed/repos/community-x86_64/PKGBUILD
(from rev 415859, xed/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: xed/repos/community-x86_64/PKGBUILD (from rev 415859, xed/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-12-12 21:22:05 UTC (rev 415860)
@@ -0,0 +1,32 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Nate Simon <aurpkg (at natesimon.net)>
+
+pkgname=xed
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="A small and lightweight text editor. X-Apps Project."
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+groups=('x-apps')
+depends=('gspell' 'gtksourceview3' 'libpeas' 'xapps')
+makedepends=('meson' 'gobject-introspection' 'intltool' 'itstool')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('e72a57be5676057f33a861e2d86dba8ab3f296991e79fd8ef29cf95445e46fce')
+
+build() {
+ mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
+ cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+ meson --prefix=/usr \
+ --libexecdir=lib/${pkgname} \
+ --buildtype=plain \
+ ..
+ ninja
+}
+
+package(){
+ cd "${srcdir}"/${pkgname}-${pkgver}/build
+
+ DESTDIR="${pkgdir}" ninja install
+}
More information about the arch-commits
mailing list