Date: Friday, December 9, 2022 @ 21:01:47
Author: grawlinson
Revision: 1357286
archrelease: copy trunk to community-x86_64
Added:
pt2-clone/repos/community-x86_64/PKGBUILD
(from rev 1357285, pt2-clone/trunk/PKGBUILD)
pt2-clone/repos/community-x86_64/pt2-clone.install
(from rev 1357285, pt2-clone/trunk/pt2-clone.install)
Deleted:
pt2-clone/repos/community-x86_64/PKGBUILD
pt2-clone/repos/community-x86_64/pt2-clone.install
-------------------+
PKGBUILD | 132 ++++++++++++++++++++++++++--------------------------
pt2-clone.install | 22 ++++----
2 files changed, 77 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-09 21:00:50 UTC (rev 1357285)
+++ PKGBUILD 2022-12-09 21:01:47 UTC (rev 1357286)
@@ -1,66 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=pt2-clone
-pkgver=1.54
-pkgrel=1
-pkgdesc='A highly accurate clone of the classic ProTracker 2.3D software for
Amiga'
-arch=('x86_64') # note: not compatible with big-endian CPUs
-url='https://16-bits.org/pt2.php'
-license=('BSD')
-depends=('alsa-lib' 'sdl2' 'hicolor-icon-theme')
-makedepends=('git' 'cmake')
-install='pt2-clone.install'
-_commit='871c59c2513acc611f3b1f4242453fc3bd1f6460'
-source=("$pkgname::git+https://github.com/8bitbubsy/pt2-clone#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-prepare() {
- cd "$pkgname"
-
- # modify desktop file
- sed \
- -e 's/Icon.*/Icon=pt2-clone/' \
- -e 's/Comment.*/Comment = Chiptune Tracker/' \
- -i "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop"
-}
-
-build() {
- cmake \
- -S "$pkgname" \
- -B build \
- -DCMAKE_BUILD_TYPE='None' \
- -DCMAKE_INSTALL_PREFIX='/usr' \
- -Wno-dev
-
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-
- cd "$pkgname"
-
- # desktop file
- install -vDm644 \
- "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
-
- # application icon
- install -vDm644 \
- "release/other/Freedesktop.org Resources/ProTracker 2 clone.png" \
- "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
-
- # documentation
- install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md release/*.txt
release/other/protracker.ini
-
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
- install -vDm644 "release/other/Freedesktop.org Resources/LICENSE" \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE.freedesktop-resources"
-}
Copied: pt2-clone/repos/community-x86_64/PKGBUILD (from rev 1357285,
pt2-clone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-09 21:01:47 UTC (rev 1357286)
@@ -0,0 +1,66 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=pt2-clone
+pkgver=1.55
+pkgrel=1
+pkgdesc='A highly accurate clone of the classic ProTracker 2.3D software for
Amiga'
+arch=('x86_64') # note: not compatible with big-endian CPUs
+url='https://16-bits.org/pt2.php'
+license=('BSD')
+depends=('alsa-lib' 'sdl2' 'hicolor-icon-theme')
+makedepends=('git' 'cmake')
+install='pt2-clone.install'
+_commit='dff7f1d51ef505477cd408ce51b789059f749831'
+source=("$pkgname::git+https://github.com/8bitbubsy/pt2-clone#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # modify desktop file
+ sed \
+ -e 's/Icon.*/Icon=pt2-clone/' \
+ -e 's/Comment.*/Comment = Chiptune Tracker/' \
+ -i "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop"
+}
+
+build() {
+ cmake \
+ -S "$pkgname" \
+ -B build \
+ -DCMAKE_BUILD_TYPE='None' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -Wno-dev
+
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ cd "$pkgname"
+
+ # desktop file
+ install -vDm644 \
+ "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ # application icon
+ install -vDm644 \
+ "release/other/Freedesktop.org Resources/ProTracker 2 clone.png" \
+ "$pkgdir/usr/share/icons/hicolor/512x512/apps/$pkgname.png"
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md release/*.txt
release/other/protracker.ini
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
+ install -vDm644 "release/other/Freedesktop.org Resources/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE.freedesktop-resources"
+}
Deleted: pt2-clone.install
===================================================================
--- pt2-clone.install 2022-12-09 21:00:50 UTC (rev 1357285)
+++ pt2-clone.install 2022-12-09 21:01:47 UTC (rev 1357286)
@@ -1,11 +0,0 @@
-post_install() {
- cat <<EOF
-
-pt2-clone requires a config file in the user's home directory.
-This can be setup via the following commands:
-
- mkdir ~/.protracker
- cp /usr/share/pt2-clone/protracker.ini ~/.protracker/protracker.ini
-
-EOF
-}
Copied: pt2-clone/repos/community-x86_64/pt2-clone.install (from rev 1357285,
pt2-clone/trunk/pt2-clone.install)
===================================================================
--- pt2-clone.install (rev 0)
+++ pt2-clone.install 2022-12-09 21:01:47 UTC (rev 1357286)
@@ -0,0 +1,11 @@
+post_install() {
+ cat <<EOF
+
+pt2-clone requires a config file in the user's home directory.
+This can be setup via the following commands:
+
+ mkdir ~/.protracker
+ cp /usr/share/pt2-clone/protracker.ini ~/.protracker/protracker.ini
+
+EOF
+}