summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkdex2021-06-06 18:27:42 +0200
committerkdex2021-06-06 18:28:23 +0200
commitf71f2da00cae0f9d11bbed5c8362a5e030debef2 (patch)
tree6005ca807b541c88eee2c131a05c46ccaf7117a5
parentf2928f2d43ef75ecd998435f17bffe9bf4f54295 (diff)
downloadaur-f71f2da00cae0f9d11bbed5c8362a5e030debef2.tar.gz
Switched to using release tarballs instead of git
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD15
2 files changed, 6 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 6fb372726f8..ada1de76707 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
/pkg
/shiromino
/src
+*.gz
*.xz
*.zst \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 56b98abe802..9432f96f444 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,18 +11,17 @@ depends=(
license=(MIT)
makedepends=(
cmake
- git
pkgconf
)
pkgdesc="A fast-paced puzzle game with roots in the arcade"
pkgname=shiromino
pkgrel=1
-pkgver=0.1.1+9+gc7a6bb6
-sha256sums=(SKIP)
-source=(git+https://github.com/shiromino/shiromino.git)
+pkgver=0.1.1
+sha256sums=(c2867c118e3106c724496efa6b62a2207ce62108f9d4e1b8cf861609641ea985)
url=https://github.com/shiromino/shiromino
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
build() {
- cd "$srcdir/shiromino"
+ cd "$srcdir/shiromino-$pkgver"
cmake\
-B build\
-DCMAKE_BUILD_TYPE=Release\
@@ -31,9 +30,5 @@ build() {
cmake --build build
}
package() {
- cmake --install "$srcdir/shiromino/build" --prefix "$pkgdir" --strip
-}
-pkgver() {
- cd "$srcdir/shiromino"
- git describe --long --tags | tr - +
+ cmake --install "$srcdir/shiromino-$pkgver/build" --prefix "$pkgdir" --strip
} \ No newline at end of file