From d7573d121828257bb257733df68eeca01e0fed7f Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Thu, 28 Apr 2022 22:05:40 -0700 Subject: [PATCH] change source type --- PKGBUILD | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 85316ce..c8bc27b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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