Commit 12be6654 authored by Jean-Baptiste Delisle's avatar Jean-Baptiste Delisle

Move arch package to the AUR

parent 1fb4236b
pkgbase = bed
pkgdesc = BEd: Beamer Editor, GUI for LaTeX Beamer presentations.
pkgver = 1.1
pkgrel = 1
url = https://framagit.org/delisle/bed
install = bed.install
arch = any
license = GPL3
depends = python>=3.0
depends = python-pyqt5
depends = python-poppler-qt5
depends = texlive-core
depends = texlive-latexextra
optdepends = python-pygments
source = bed-1.1.tar.gz::https://framagit.org/delisle/bed/repository/archive.tar.gz?ref=v1.1
md5sums = e14089fdab9ec1607dee4e9ee31434c2
pkgname = bed
# Maintainer: Jean-Baptiste Delisle <jb dot delisle at aliceadsl dot fr>
pkgname=bed
pkgver=1.1
pkgrel=1
pkgdesc="BEd: Beamer Editor, GUI for LaTeX Beamer presentations."
arch=(any)
url="https://framagit.org/delisle/bed"
license=('GPL3')
depends=('python>=3.0' 'python-pyqt5' 'python-poppler-qt5' 'texlive-core' 'texlive-latexextra')
optdepends=('python-pygments')
makedepends=()
install='bed.install'
source=("$pkgname-$pkgver.tar.gz::https://framagit.org/delisle/bed/repository/archive.tar.gz?ref=v$pkgver")
md5sums=('e14089fdab9ec1607dee4e9ee31434c2')
tag=bc71b26470dd9f53fd812a6d24ab39ae4918a5cd
prepare() {
cd $pkgname-v$pkgver-$tag
sed -i -e "s#/tmp/python3#/usr/bin/python3#" python/bed.py
sed -i -e "s#/tmp/pdflatex#pdflatex#" python/settings.py
sed -i 's#/local##g' launcher/bed.desktop
}
package(){
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/bed
mkdir -p $pkgdir/usr/share/texmf/tex/latex/bed
mkdir -p $pkgdir/usr/share/applications
mkdir -p $pkgdir/usr/share/pixmaps
cd $pkgname-v$pkgver-$tag
cp python/*.py $pkgdir/usr/share/bed
chmod +x $pkgdir/usr/share/bed/bed.py
cp icons/* $pkgdir/usr/share/bed
cp translation/*.qm $pkgdir/usr/share/bed
cp launcher/bed.desktop $pkgdir/usr/share/applications/
cp latex/bed.sty $pkgdir/usr/share/texmf/tex/latex/bed/
cd $pkgdir/usr/bin/
ln -s ../share/bed/bed.py bed
cd $pkgdir/usr/share/pixmaps
ln -s ../bed/bed.svg bed.svg
}
post_install() {
texhash
}
post_upgrade() {
texhash
}
post_remove() {
texhash
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment