blob: 64eca39ed531e92bc85ff349f7dea2b9c151d70e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer : MorsMortium <morsmortium@disroot.org>
pkgname=appdir
pkgver=0.1.0
pkgrel=1
url="https://github.com/Forty-Bot/appdir"
pkgdesc="C library for finding platform-specific dirs"
arch=('x86_64')
license=('LGPL-3.0-or-later')
depends=('libxdg-basedir')
conflicts=('appdir')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Forty-Bot/appdir/archive/refs/tags/$pkgver.tar.gz")
sha1sums=('ec762349b307d857527dcd723d7aea818f4883c0')
package() {
cd $pkgname-$pkgver
mkdir build
cd build
cmake ..
make
install -Dm 644 libappdir.so ${pkgdir}/usr/lib/libappdir.so
install -Dm 644 ../include/appdir.h ${pkgdir}/usr/include/appdir/appdir.h
install -Dm 644 include/appdir_export.h ${pkgdir}/usr/include/appdir/appdir_export.h
}
|