29 lines
842 B
Bash
29 lines
842 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=gtksourceviewmm
|
|
pkgver=3.18.0
|
|
pkgrel=2
|
|
pkgdesc="C++ bindings for the gtksourceview library"
|
|
arch=('i686' 'x86_64')
|
|
url='https://gitlab.gnome.org/GNOME/gtksourceviewmm'
|
|
license=('LGPL-2.1')
|
|
depends=('gtkmm' 'gtksourceview3')
|
|
source=("https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz")
|
|
sha512sums=('143de4a650f2a6090efeba359e78d1f4982519a9e7a2be838f9888732c57dcc42db8b6ab45bd23ccd261d8f17bc743846a3bb572566f233cee9b4238c017c64c')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install doc_subdirs=
|
|
make -C docs DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|
|
|