annotate flappyufo/PKG/PKGBUILD @ 17:e9c503d896a6

flappyufo-0.230919-1_add_pkgbuild
author Przemyslaw <prymula76@outlook.com>
date Sat, 24 Feb 2024 17:47:35 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
1 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
2
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
3 pkgname=flappyufo
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
4 pkgver=0.230919
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
5 pkgrel=1
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
6 pkgdesc="Clone Flappy Bird from Android"
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
7 arch=('any')
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
8 url="prymula.ct8.pl"
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
9 license=('GPL3')
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
10 provides=('flappyufo')
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
11 depends=('jdk-openjdk')
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
12 makedepends=('jdk-openjdk' 'ant')
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
13 source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::file://${pkgname}-${pkgver}-${pkgrel}.tar.gz")
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
14 sha256sums=('2ffdf3a15965776205fa5d37dd44c8e99e3a3a37f6b7e50e80ae90db9384a09b') #generate with 'makepkg -g' || sha256sum
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
15 build() {
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
16 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
17 make -f Makefile.aur
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
18 }
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
19
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
20 package() {
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
21 cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
22 make -f Makefile.aur DESTDIR="${pkgdir}" install
e9c503d896a6 flappyufo-0.230919-1_add_pkgbuild
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
23 }