blob: d1114282c2a2fd9248ffb43da826cdd31dbb52c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: kusakata <shohei atmark kusakata period com>
pkgname=ngraph-gtk
pkgver=6.09.09
pkgrel=1
pkgdesc="A tool for creating scientific 2-dimensional graphs"
url="https://github.com/htrb/ngraph-gtk/"
license=('GPL')
arch=('x86_64')
depends=('gsl' 'gtksourceview4' 'ruby')
optdepends=('ttf-liberation: alternative to Times, Arial, and Courier')
source=("https://github.com/htrb/ngraph-gtk/releases/download/v${pkgver}/ngraph-gtk-${pkgver}.tar.gz")
options=('!makeflags')
sha512sums=('c14b9c36d91bb7f6e668d98adbd55539bccfa805385432c0075e6756effca824d6b158f5ccdd24209dc580e38fd1b6ba2371e4274b891c9edc3d7837dd903fdf')
build() {
cd "${srcdir}/ngraph-gtk-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
make
}
package() {
cd "${srcdir}/ngraph-gtk-${pkgver}"
make DESTDIR="$pkgdir" install
cd "${srcdir}/ngraph-gtk-${pkgver}/misc"
install -Dm644 com.github.htrb.ngraph-gtk.desktop "${pkgdir}/usr/share/applications/com.github.htrb.ngraph-gtk.desktop"
# install -Dm644 com.github.htrb.ngraph-gtk.metainfo.xml "${pkgdir}/usr/share/mime/packages/com.github.htrb.ngraph-gtk.metainfo.xml"
install -Dm644 ngraph.keys "${pkgdir}/usr/share/mime-info/ngraph.keys"
install -Dm644 ngraph.mime "${pkgdir}/usr/share/mime-info/ngraph.mime"
install -Dm644 ngraph.1 "${pkgdir}/usr/share/man/man1/ngraph.1"
install -Dm644 ngp2.1 "${pkgdir}/usr/share/man/man1/ngp2.1"
install -Dm644 ngraph.bash "${pkgdir}/usr/share/bash-completion/completions/ngraph"
install -Dm644 ngraph.applications "${pkgdir}/usr/share/application-registry/ngraph.applications"
}
|