Mercurial > hg > pub > prymula > com
annotate flappyufo/PKG/PKGBUILD @ 19:fff7215ba1e8
package for arch
author | Przemyslaw <prymula76@outlook.com> |
---|---|
date | Sun, 31 Mar 2024 16:10:46 +0200 |
parents | e9c503d896a6 |
children |
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 } |