[arch-commits] Commit in milkytracker/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 14:11:33 UTC 2020
Date: Tuesday, July 7, 2020 @ 14:11:32
Author: felixonmars
Revision: 658746
archrelease: copy trunk to community-staging-x86_64
Added:
milkytracker/repos/community-staging-x86_64/
milkytracker/repos/community-staging-x86_64/PKGBUILD
(from rev 658745, milkytracker/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: milkytracker/repos/community-staging-x86_64/PKGBUILD (from rev 658745, milkytracker/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 14:11:32 UTC (rev 658746)
@@ -0,0 +1,43 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Christopher O'Neill <milkytracker at chrisoneill.co.uk>
+# Contributor: Maks Verver <maksverver at geocities.com>
+
+pkgname=milkytracker
+pkgver=1.02.00
+pkgrel=4
+pkgdesc='Music tracker inspired by Fast Tracker II'
+arch=(x86_64)
+url='https://milkytracker.titandemo.org/'
+license=(GPL3)
+depends=(alsa-lib lhasa rtmidi sdl2 zziplib)
+makedepends=(cmake jack ninja)
+optdepends=('jack: JACK audio support')
+# Disable stripping, ref FS#30018
+options=(!strip)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/milkytracker/MilkyTracker/archive/v$pkgver.tar.gz")
+sha256sums=('6bcb6e74ee333e831137435a25c0f2f3da6e1462864deec9e693ef7d23a16023')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "../MilkyTracker-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -G Ninja
+ ninja
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+ cd "$srcdir/MilkyTracker-$pkgver/resources"
+ install -Dm644 pictures/carton.png \
+ "$pkgdir/usr/share/pixmaps/milkytracker.png"
+ install -Dm644 milkytracker.desktop \
+ "$pkgdir/usr/share/applications/milkytracker.desktop"
+ # yes, this file extension is wrong
+ install -Dm644 milkytracker.appdata \
+ "$pkgdir/usr/share/appdata/milkytracker.appdata.xml"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list