Add postinstall instructions
This commit is contained in:
parent
afa0a1a5c7
commit
09a3c65df1
1
.SRCINFO
1
.SRCINFO
@ -3,6 +3,7 @@ pkgbase = ftxui-git
|
||||
pkgver = r277.4d29dcc
|
||||
pkgrel = 1
|
||||
url = https://github.com/ArthurSonzogni/FTXUI
|
||||
install = .install
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
|
||||
10
.install
Normal file
10
.install
Normal file
@ -0,0 +1,10 @@
|
||||
post_install() {
|
||||
echo "-------------------------->"
|
||||
echo "The headers have been installed to '/usr/local/include/ftxui' and libraries to /usr/local/lib/ftxui, namely 'libcomponent.a', 'libdom.a', 'libscreen.a'"
|
||||
echo "Don't Forget to link with the libraries :D"
|
||||
echo "<--------------------------"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
1
PKGBUILD
1
PKGBUILD
@ -10,6 +10,7 @@ depends=('cmake' 'gcc' 'ninja') # ninja is optional, just remove "-G Ninja" from
|
||||
makedepends=('git')
|
||||
provides=("${pkgname%-git}")
|
||||
conflicts=("${pkgname%-git}")
|
||||
install='.install'
|
||||
source=("${pkgname%-git}::git+https://github.com/ArthurSonzogni/FTXUI")
|
||||
md5sums=('SKIP')
|
||||
|
||||
|
||||
@ -5,3 +5,10 @@ Built for simple install and updation of [ftxui](https://github.com/ArthurSonzog
|
||||
|
||||
Just run makepkg in the directory, or see github.com/adig-pkgs/adig-pkgs how to add the custom repo to have it listed by your pacman.
|
||||
|
||||
### Post Install
|
||||
|
||||
The headers are installed to `/usr/local/include/ftxui` and libraries to /usr/local/lib/ftxui, namely `libcomponent.a`, `libdom.a`, `libscreen.a`.
|
||||
|
||||
You will get this message from makepkg too, don't forget to link to these libraries as required :D
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user