change source type

This commit is contained in:
Page Asgardius 2022-04-28 22:05:40 -07:00
parent d7b9f73f9c
commit d7573d1218

View file

@ -7,25 +7,24 @@ arch=('any')
url="https://patrice.asgardius.company/gitea/asgardius/r3"
license=('GPL')
depends=('python-pygame')
source=("$pkgname-$pkgver::git+https://patrice.asgardius.company/gitea/asgardius/r3.git#tag=$pkgver"
source=("$pkgname-$pkgver.tar.gz::https://patrice.asgardius.company/gitea/asgardius/r3/archive/$pkgver.tar.gz"
"local://r3.desktop"
"local://r3.png"
"local://r3.sh")
noextract=()
sha512sums=('SKIP'
sha512sums=('e3fa9eb64c796bbc667436d5b0d29c878218bb0d1e016b24924f1c26e0b5e722e3a42cb85db8544137f69d90ac43484b1a03d67d3d641b54e8802d0a2cb0919c'
'3aff46474672a549aa9d37cdde6afed07c3a1953f6dfacb62ed1acfe505e9746fbd20ae67dc4565ed9fadff0d5f352fd679d937fdc618e4472979b563e4d62bf'
'2721be67ec5642e841942f84c0be118b12cb846d77eb604ba5d002004e3fccb26261b04daef745b27a4a78947dc6f5b4058ca29a314c85d88d811fed7ab895ac'
'b6b9859ddb41badaabccc3814f789de132189e56cfe4b2f6be665ff86b55a1855ac8d5f5f54378559aee353d34ed2322fa32f4caac1c85b5919175aa73d42825') #autofill using updpkgsums
build() {
cd "$pkgname-$pkgver"
cd "$srcdir/r3"
echo "cleaning unused files"
rm -Rv "level maps" "source"
echo "cleanup complete"
}
package() {
cd "$pkgname-$pkgver"
cd "$srcdir/r3"
mkdir -p $pkgdir/opt/r3-game
mkdir -p $pkgdir/usr/share/applications
mkdir -p $pkgdir/usr/share/icons/hicolor/apps