Skip to content

Add Danise #2433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions archlinuxcn/danise/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Maintainer: Carson Rueter <roachh@protonmail.com>

pkgname='denise'
pkgdesc='Highly accurate C64/Amiga emulator'
url='https://sourceforge.net/projects/deniseemu/'
license=('GPL')
pkgver=1.1.1
pkgrel=1
_commit=fd3e120b8637
_srcdir="piciji-denise-$_commit"
source=("https://bitbucket.org/piciji/denise/get/v$pkgver.tar.gz")
md5sums=('33c471b7f3231a6b3c8ad47fe7bd38aa')
provides=('denise')
conflicts=('denise-bin' 'denise-git')
depends=('sdl2' 'gtk3' 'openal' 'libpulse')
arch=('i686' 'x86_64')

prepare() {
sed -i 's/Exec=Denise/Exec=denise/g' "$srcdir/$_srcdir/data/denise.desktop"
}

build() {
cd "$srcdir/$_srcdir"
make
}
Comment on lines +22 to +25
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


package() {
cd "$srcdir/$_srcdir"
mkdir -p $pkgdir/usr/bin/
mkdir -p $pkgdir/usr/share/icons/
mkdir -p $pkgdir/usr/share/applications/
mkdir -p $pkgdir/usr/lib/$pkgname/translation/
mkdir -p $pkgdir/usr/lib/$pkgname/data/
mkdir -p $pkgdir/usr/lib/$pkgname/fonts/
mkdir -p $pkgdir/usr/lib/$pkgname/img/
mkdir -p $pkgdir/usr/lib/$pkgname/shader/

install -Dm755 out/Denise $pkgdir/usr/bin/$pkgname
install -Dm644 data/img/$pkgname.png $pkgdir/usr/share/icons/$pkgname.png
install -Dm644 data/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 data/translation/* $pkgdir/usr/lib/$pkgname/translation
install -Dm644 data/data/* $pkgdir/usr/lib/$pkgname/data
install -Dm644 data/fonts/*.ttf $pkgdir/usr/lib/$pkgname/fonts
install -Dm644 data/img/bundle/* $pkgdir/usr/lib/$pkgname/img
cp -r data/shader $pkgdir/usr/lib/$pkgname/
}
12 changes: 12 additions & 0 deletions archlinuxcn/danise/lilac.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python3

from lilaclib import *

def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))

def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()
# vim:set ts=2 sw=2 et:
9 changes: 9 additions & 0 deletions archlinuxcn/danise/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
maintainers:
- github: heroku-miraheze

build_prefix: extra-x86_64

update_on:
- source: bitbucket
bitbucket: piciji/denise
use_max_tag: true