summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHurricanePootis2021-10-04 20:50:46 -0500
committerHurricanePootis2021-10-04 20:50:46 -0500
commit00ac21afeadc18216b0c6327b8104ef195284c66 (patch)
treebfcfdc60527db50730fa26b02a50b2b1aa765d6f
parent0c073926585958719b1f82159415de0b10b330c1 (diff)
downloadaur-00ac21afeadc18216b0c6327b8104ef195284c66.tar.gz
Update to use
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2599f3aff88..28a58e1a5aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = terri-fried-git
pkgdesc = A multi-platform C++ game made for Ludum Dare 46
pkgver = r34.463aa1e
- pkgrel = 8
+ pkgrel = 9
url = https://github.com/polymarsdev/terri-fried
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 1a7a8cec6dd..331dcf90b32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,24 @@
# Maintainer: HurricanePootis <hurricanepootis@protonmail.com>
pkgname=terri-fried-git
pkgver=r34.463aa1e
-pkgrel=8
+pkgrel=9
pkgdesc="A multi-platform C++ game made for Ludum Dare 46"
arch=('x86_64')
url="https://github.com/polymarsdev/terri-fried"
license=('custom')
depends=('raylib' 'pulseaudio')
makedepends=('git' 'raylib' 'gcc')
-source=('terri-fried-git::git+https://github.com/polymarsdev/terri-fried' 'terri-fried' 'terri-fried.desktop')
+source=("$pkgname::git+https://github.com/polymarsdev/terri-fried" 'terri-fried' 'terri-fried.desktop')
sha512sums=('SKIP'
'dfe61f184aa329210ca1d60eb4a38c1f319a285e0b26a7e15b6f714cd98e835e87d910a3d41f9db83b9a5dc34f5e97a7b290f91fbcb4e87cad393302c5a121a7'
'cb435d7f26523d1af1182cd5f4af010c45cb4630133e04155ff806ca500c9e6882ae14ab0319b062aa3686bf72fd9e8569f449eef62571c8e080d7998b9100be')
pkgver() {
- cd "$srcdir/terri-fried-git"
+ cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/terri-fried-git/windows/raylib"
+ cd "$srcdir/$pkgname/windows/raylib"
CXX=g++
$CXX -c -o player.o $CXXFLAGS player.cpp
$CXX -c -o platform.o $CXXFLAGS platform.cpp
@@ -32,10 +32,10 @@ package() {
mkdir -p "usr/bin/"
mkdir -p "usr/share/icons/hicolor/32x32/apps"
mkdir -p "usr/share/applications"
- cp "$srcdir/terri-fried-git/windows/raylib/terri-fried" "$pkgdir/usr/share/terri-fried/."
- cp -r "$srcdir/terri-fried-git/windows/raylib/resources" "$pkgdir/usr/share/terri-fried/."
+ cp "$srcdir/$pkgname/windows/raylib/terri-fried" "$pkgdir/usr/share/terri-fried/."
+ cp -r "$srcdir/$pkgname/windows/raylib/resources" "$pkgdir/usr/share/terri-fried/."
cp "$srcdir/terri-fried" "$pkgdir/usr/bin/."
- cp "$srcdir/terri-fried-git/windows/raylib/resources/egg.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/terri-fried.png"
+ cp "$srcdir/$pkgname/windows/raylib/resources/egg.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/terri-fried.png"
cp "$srcdir/terri-fried.desktop" "$pkgdir/usr/share/applications/."
}