From 0e1e4aea88a6e8b5f6e8b080c037e33cb93a395f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 24 Apr 2021 10:06:24 +0700 Subject: [PATCH] beancount: fix elisp location --- srcpkgs/beancount/template | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/srcpkgs/beancount/template b/srcpkgs/beancount/template index ab1aacd4f71b..cdaafba4e014 100644 --- a/srcpkgs/beancount/template +++ b/srcpkgs/beancount/template @@ -1,16 +1,27 @@ # Template file for 'beancount' pkgname=beancount version=2.3.0 -revision=2 +revision=3 build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-devel" depends="python3-pytest python3-dateutil python3-ply python3-bottle python3-lxml python3-magic python3-BeautifulSoup4 python3-requests python3-chardet python3-google-api-python-client python3-oauth2client" +checkdepends="$depends" short_desc="Double-entry accounting system based on plain text files" maintainer="Aluísio Augusto Silva Gonçalves " license="GPL-2.0-only" homepage="http://furius.ca/beancount/" distfiles="${PYPI_SITE}/b/beancount/beancount-${version}.tar.gz" checksum=9a6d9692435007195aae29a20328fb11d0126ff03db66322a79a894b1f422712 + +do_check() { + cd build/lib* + python3 -m pytest +} + +post_install() { + vmkdir usr/share/emacs/site-lisp + mv ${DESTDIR}/usr/elisp/* ${DESTDIR}/usr/share/emacs/site-lisp +}