Aur pkg prep (#35)

* version placeholder and makefile updates

* fixes
This commit is contained in:
Levi Neely 2024-08-15 10:47:59 +02:00 committed by GitHub
parent 717300458d
commit c364996aad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -11,4 +11,10 @@ clean:
rm -rf lib/mbedtls-2.1.14/build
rm -rf ./cmd/pcloudcc/build
install:
install -m 755 cmd/pcloudcc/build/pcloudcc /usr/bin/pcloudcc
install -m 755 cmd/pcloudcc/build/libpcloudcc_lib.so /usr/lib/libpcloudcc_lib.so
uninstall:
rm -f /usr/bin/pcloudcc
rm -f /usr/lib/libpcloudcc_lib.so

View File

@ -38,10 +38,12 @@
namespace po = boost::program_options;
namespace ct = control_tools;
namespace cc = console_client;
static std::string version = "2.0.1";
// TODO: a proper version string might be useful for debugging
static std::string version = "git-lneely";
int main(int argc, char **argv) {
std::cout << "pCloud console client v." << version << std::endl;
std::cout << "pCloud console client (" << version << ")" << std::endl;
std::string username;
std::string password;
bool daemon = false;