summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorM0Rf302020-10-11 14:48:34 +0200
committerM0Rf302020-10-11 14:48:34 +0200
commitd8f8fd3a9847ee6ca7d82190cd5787af1f5f9ecf (patch)
treeeea5beee6f83f67849493d45e821f7fbc9e992c1 /PKGBUILD
parenta7000556f2e7223874cba7d51175e77bdb09ab6f (diff)
downloadaur-d8f8fd3a9847ee6ca7d82190cd5787af1f5f9ecf.tar.gz
devilutionx: 1.1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e94888342109..fdd860346ba1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc="Diablo devolved for linux"
arch=('armv6h' 'armv7h' 'arm' 'aarch64' 'i686' 'x86_64')
url="https://github.com/diasurgical/devilutionX"
license=('custom:unlicense')
-depends=('graphite' 'libsodium' 'sdl2_mixer' 'sdl2_ttf' 'ttf-charis-sil')
+depends=('graphite' 'libsodium' 'sdl2_mixer' 'sdl2_ttf')
makedepends=('cmake' 'gcc-libs')
install="$pkgname".install
options=('strip')
@@ -21,8 +21,6 @@ prepare() {
if [ ! -d build ]; then
mkdir build
fi
- sed -i "s/\/usr\/share\/fonts\/truetype/\/usr\/share\/fonts\/ttf-charis-sil/g" \
- SourceX/DiabloUI/fonts.cpp
}
build() {
@@ -31,8 +29,6 @@ build() {
-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-DPIE=ON \
-DBINARY_RELEASE=ON \
- -DTTF_FONT_DIR=\"/usr/share/fonts/ttf-charis-sil\" \
- -DTTF_FONT_NAME=\"CharisSIL-B.ttf\" \
-DVERSION_NUM="$pkgver"
cmake --build .