diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | patch-desktop-file-01 | 9 | ||||
-rw-r--r-- | x48ng.install | 13 |
4 files changed, 14 insertions, 31 deletions
@@ -1,6 +1,6 @@ pkgbase = x48ng pkgdesc = A reboot of the x48 HP 48 emulator - pkgver = 0.9.10 + pkgver = 0.10.0 pkgrel = 1 url = https://github.com/gwenhael-le-moine/x48ng install = x48ng.install @@ -9,9 +9,9 @@ pkgbase = x48ng depends = readline depends = libxext depends = xterm - source = x48ng::https://github.com/gwenhael-le-moine/x48ng/archive/refs/tags/0.9.10.tar.gz - source = patch-desktop-file-01 - sha256sums = aca5b8bd90c9a42f50139a716bfd75d23fa48fdd3e672b164d4014af2ba02956 - sha256sums = e18c85ecf9d451e77a6ea764e356182bc6af11c46a91ff28b0d48cb8d8b0c644 + depends = xorg-mkfontscale + depends = xorg-fonts-misc + source = x48ng::https://github.com/gwenhael-le-moine/x48ng/archive/refs/tags/0.10.0.tar.gz + sha256sums = 4fbd5f7b290271c4dbcfa9571d035c96ed1482bdd8fd641c3da785796efc15a9 pkgname = x48ng @@ -2,25 +2,22 @@ _githubuser=gwenhael-le-moine _githubrepo=x48ng -_pkgtagname=0.9.10 +_pkgtagname=0.10.0 pkgname=x48ng -pkgver=0.9.10 +pkgver=0.10.0 pkgrel=1 pkgdesc='A reboot of the x48 HP 48 emulator' arch=('any') url="https://github.com/${_githubuser}/${_githubrepo}" license=('GPL2') -depends=('readline' 'libxext' 'xterm') +depends=('readline' 'libxext' 'xterm' 'xorg-mkfontscale' 'xorg-fonts-misc') install="${pkgname}.install" -source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz" - 'patch-desktop-file-01') -sha256sums=('aca5b8bd90c9a42f50139a716bfd75d23fa48fdd3e672b164d4014af2ba02956' - 'e18c85ecf9d451e77a6ea764e356182bc6af11c46a91ff28b0d48cb8d8b0c644') +source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz") +sha256sums=('4fbd5f7b290271c4dbcfa9571d035c96ed1482bdd8fd641c3da785796efc15a9') build() { cd "${_githubrepo}-${pkgver}" - patch x48ng.desktop ../patch-desktop-file-01 make } diff --git a/patch-desktop-file-01 b/patch-desktop-file-01 deleted file mode 100644 index 9f3e5e9f1462..000000000000 --- a/patch-desktop-file-01 +++ /dev/null @@ -1,9 +0,0 @@ -6,8c6,9 -< Exec=@PREFIX@/bin/x48 -< Name=x48 -< Icon=@PREFIX@/share/x48/hplogo.png ---- -> Exec=@PREFIX@/bin/x48ng -smallFont fixed -mediumFont fixed -largeFont fixed -connFont fixed -> Name=x48ng -> Icon=@PREFIX@/share/x48ng/hplogo.png -> Categories=Utility; diff --git a/x48ng.install b/x48ng.install index 15082ccd2181..412f5cbbf577 100644 --- a/x48ng.install +++ b/x48ng.install @@ -8,18 +8,13 @@ public. The roms for the hp48sx and the hp48gx are included in this package. The first the time program is run, as user, use either - x48ng -smallFont fixed -mediumFont fixed -largeFont fixed -connFont fixed -rom /usr/share/x48ng/ROMs/gxrom-r -initialize + x48ng -rom /usr/share/x48ng/ROMs/gxrom-r -initialize or - x48ng -smallFont fixed -mediumFont fixed -largeFont fixed -connFont fixed -rom /usr/share/x48ng/ROMs/sxrom-j -initialize -to have X48 place the ROM for the desired emulator in \$HOME/.hp48 + x48ng -rom /usr/share/x48ng/ROMs/sxrom-j -initialize +to have X48 place the ROM for the desired emulator in \$HOME/.x48ng for subsequent use. -On ArchLinux with KDE (Not test with other DE), You need to use this cmd line to start x48ng - x48ng -smallFont fixed -mediumFont fixed -largeFont fixed -connFont fixed +If fonts isn't installed, you need to logout and login back before launching x48ng. EOF } - -post_upgrade() { - post_install -} |