Date: Monday, December 5, 2022 @ 22:57:59
  Author: grawlinson
Revision: 1356665

archrelease: copy trunk to community-x86_64

Added:
  pt2-clone/repos/community-x86_64/PKGBUILD
    (from rev 1356664, pt2-clone/trunk/PKGBUILD)
  pt2-clone/repos/community-x86_64/pt2-clone.install
    (from rev 1356664, 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-05 22:56:54 UTC (rev 1356664)
+++ PKGBUILD    2022-12-05 22:57:59 UTC (rev 1356665)
@@ -1,66 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=pt2-clone
-pkgver=1.53.1
-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='1e43b50e5d6817507fd8dc0849f052d4d7a6c0a8'
-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 1356664, 
pt2-clone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-05 22:57:59 UTC (rev 1356665)
@@ -0,0 +1,66 @@
+# 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"
+}

Deleted: pt2-clone.install
===================================================================
--- pt2-clone.install   2022-12-05 22:56:54 UTC (rev 1356664)
+++ pt2-clone.install   2022-12-05 22:57:59 UTC (rev 1356665)
@@ -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 1356664, 
pt2-clone/trunk/pt2-clone.install)
===================================================================
--- pt2-clone.install                           (rev 0)
+++ pt2-clone.install   2022-12-05 22:57:59 UTC (rev 1356665)
@@ -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
+}

Reply via email to