Add fortune-mod/APKBUILD
This commit is contained in:
parent
4254893412
commit
e046841ad0
1 changed files with 28 additions and 0 deletions
28
fortune-mod/APKBUILD
Normal file
28
fortune-mod/APKBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
maintainer="Swee <meow@swee.codes>"
|
||||
pkgname=fortune-mod
|
||||
pkgver=
|
||||
pkgrel=0
|
||||
pkgdesc="A fortune implementation made by Shlomi Fish"
|
||||
url="https://www.shlomifish.org/open-source/projects/fortune-mod/"
|
||||
arch="x86_64"
|
||||
provides="cmd:fortune"
|
||||
# license=""
|
||||
makedepends="perl-dev recode-dev docbook-xml docbook-xsl cmake doxygen libxslt wget xz tar"
|
||||
# source="https://github.com/shlomif/fortune-mod/releases/download/fortune-mod-3.24.0/fortune-mod-3.24.0.tar.xz"
|
||||
|
||||
build() {
|
||||
wget -O fortune-mod.tar.xz https://github.com/shlomif/fortune-mod/releases/download/fortune-mod-3.24.0/fortune-mod-3.24.0.tar.xz
|
||||
xz -d fortune-mod.tar.xz
|
||||
tar -xf fortune-mod.tar
|
||||
rm fortune-mod.tar
|
||||
mv fortune-mod-* fortune-mod
|
||||
mkdir fortune-mod/build
|
||||
cd fortune-mod/build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
export DESTDIR=$pkgdir
|
||||
make install
|
||||
}
|
Loading…
Add table
Reference in a new issue