Skip to content
Snippets Groups Projects
Commit 9693723e authored by Sergej Pupykin's avatar Sergej Pupykin
Browse files

upgpkg: 1:4.0.0-1

parent dda5ea91
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,12 @@
# Contributor: aunoor
pkgname=notion
pkgver=20190501
epoch=1
pkgver=4.0.0
pkgrel=1
_commit=5e820d514837e12b8753a1afe9b5dd1033f449da
_commit_doc=4875ffc1c4f8ba1d7ebe77fc3aceacc872e74c07
_commit_doc=3c3703c60c79cc0494e664aa83fc880f1285a45b
pkgdesc="Tabbed tiling, window manager. Fork of Ion3"
url="http://notion.sourceforge.net"
url="https://notionwm.net"
arch=('x86_64')
license=('custom:LGPL')
depends=('glib2' 'gettext' 'lua' 'libxext' 'libsm' 'freetype2')
......@@ -47,7 +47,7 @@ backup=("etc/notion/cfg_defaults.lua"
"etc/notion/xkbion.lua")
provides=('libtu' 'libextl')
changelog=ChangleLog
source=("notion::git://github.com/raboof/notion#commit=${_commit}"
source=("notion::git://github.com/raboof/notion#tag=${pkgver}"
"notion-doc::git://github.com/raboof/notion-doc.git#commit=${_commit_doc}")
sha256sums=('SKIP'
'SKIP')
......@@ -66,7 +66,11 @@ EOF
build() {
cd "$srcdir"/notion
make INCLUDES=-I"$srcdir"/notion LUA_VERSION=5.3 PREFIX=/usr ETCDIR=/etc/notion
make \
INCLUDES="-I$srcdir/notion -I/usr/include/freetype2" \
LUA_VERSION=5.3 \
PREFIX=/usr \
ETCDIR=/etc/notion
cd "$srcdir"/notion-doc
make all-html all-html-onepage
......@@ -74,12 +78,20 @@ build() {
package() {
cd "$srcdir"/notion
make DESTDIR="$pkgdir" LUA_VERSION=5.3 PREFIX=/usr ETCDIR=/etc/notion install
make \
DESTDIR="$pkgdir" \
LUA_VERSION=5.3 \
PREFIX=/usr \
ETCDIR=/etc/notion \
install
# doc
cd "$srcdir"/notion-doc
make PREFIX="$pkgdir"/usr ETCDIR=/etc/notion install
# fix typo
mv "$pkgdir"/usr/share/notion/notion{,flux}.1 "$pkgdir"/usr/share/man/man1/
# modules
cp "$srcdir"/notion/mod_xinerama/*.lua "$pkgdir"/etc/notion/
cp "$srcdir"/notion/mod_xkbevents/*.lua "$pkgdir"/etc/notion/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment